mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1157534 - Hide HomePagerContainer when showing BrowserSearch and vice versa. r=margaret
We'd hide only the HomePager before, which left the HomeBanner appearing.
This commit is contained in:
parent
9aae76d264
commit
4ffedb9871
@ -2577,7 +2577,7 @@ public class BrowserApp extends GeckoApp
|
||||
mBrowserSearchContainer.setVisibility(View.VISIBLE);
|
||||
|
||||
// Prevent overdraw by hiding the underlying HomePager View.
|
||||
mHomePager.setVisibility(View.INVISIBLE);
|
||||
mHomePagerContainer.setVisibility(View.INVISIBLE);
|
||||
|
||||
final FragmentManager fm = getSupportFragmentManager();
|
||||
|
||||
@ -2599,7 +2599,7 @@ public class BrowserApp extends GeckoApp
|
||||
|
||||
// To prevent overdraw, the HomePager is hidden when BrowserSearch is displayed:
|
||||
// reverse that.
|
||||
mHomePager.setVisibility(View.VISIBLE);
|
||||
mHomePagerContainer.setVisibility(View.VISIBLE);
|
||||
|
||||
mBrowserSearchContainer.setVisibility(View.INVISIBLE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user