From 2547bc6b3c960ed99b48880474078abfb8c5130d Mon Sep 17 00:00:00 2001 From: Imanol Fernandez Date: Fri, 25 Oct 2019 00:14:04 +0200 Subject: [PATCH] Fix potential title shown in new tab button when view is reused (#2053) --- .../common/shared/org/mozilla/vrbrowser/ui/views/TabView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/views/TabView.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/views/TabView.java index 0b3de3858..7ffa66019 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/views/TabView.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/views/TabView.java @@ -167,10 +167,12 @@ public void setAddTabMode(boolean aShow) { mShowAddTab = aShow; if (mShowAddTab) { mTabCardView.setVisibility(View.GONE); + mURL.setVisibility(View.INVISIBLE); mTabAddView.setVisibility(View.VISIBLE); } else { mTabCardView.setVisibility(View.VISIBLE); mTabAddView.setVisibility(View.GONE); + mURL.setVisibility(View.VISIBLE); } }