Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 2547bc6

Browse files
MortimerGorobluemarvin
authored andcommitted
Fix potential title shown in new tab button when view is reused (#2053)
1 parent f767945 commit 2547bc6

File tree

1 file changed

+2
-0
lines changed
  • app/src/common/shared/org/mozilla/vrbrowser/ui/views

1 file changed

+2
-0
lines changed

app/src/common/shared/org/mozilla/vrbrowser/ui/views/TabView.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,12 @@ public void setAddTabMode(boolean aShow) {
167167
mShowAddTab = aShow;
168168
if (mShowAddTab) {
169169
mTabCardView.setVisibility(View.GONE);
170+
mURL.setVisibility(View.INVISIBLE);
170171
mTabAddView.setVisibility(View.VISIBLE);
171172
} else {
172173
mTabCardView.setVisibility(View.VISIBLE);
173174
mTabAddView.setVisibility(View.GONE);
175+
mURL.setVisibility(View.VISIBLE);
174176
}
175177
}
176178

0 commit comments

Comments
 (0)