From 1032ae434b0df5a38deb639fbe3625be779581f3 Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Tue, 14 Apr 2020 17:05:30 +0200 Subject: [PATCH] Force awesome bar widget creation when detached from window. (#3156) --- .../org/mozilla/vrbrowser/ui/widgets/NavigationBarWidget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/NavigationBarWidget.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/NavigationBarWidget.java index b705860f0..140cc5513 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/NavigationBarWidget.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/NavigationBarWidget.java @@ -479,7 +479,7 @@ public void detachFromWindow() { } mAttachedWindow = null; if (mAwesomeBar != null && mAwesomeBar.isVisible()) { - mAwesomeBar.hideNoAnim(UIWidget.KEEP_WIDGET); + mAwesomeBar.hideNoAnim(UIWidget.REMOVE_WIDGET); } mBinding.navigationBarNavigation.urlBar.detachFromWindow();