From: Soren Stoutner Date: Mon, 25 Jan 2021 22:00:14 +0000 (-0700) Subject: Do not expand the app bar when a tab is closed. https://redmine.stoutner.com/issues/519 X-Git-Tag: v3.7~9 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=044e469923b042c6f019083166d8a543aa5edee3;p=PrivacyBrowserAndroid.git Do not expand the app bar when a tab is closed. https://redmine.stoutner.com/issues/519 --- diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java index 9d589498..6eeeb253 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java @@ -4870,9 +4870,6 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook if (webViewPagerAdapter.deletePage(currentTabNumber, webViewPager)) { setCurrentWebView(currentTabNumber); } - - // Expand the app bar if it is currently collapsed. - appBarLayout.setExpanded(true); } private void saveWebpageArchive(String filePath) {