From 044e469923b042c6f019083166d8a543aa5edee3 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Mon, 25 Jan 2021 15:00:14 -0700 Subject: [PATCH] Do not expand the app bar when a tab is closed. https://redmine.stoutner.com/issues/519 --- .../privacybrowser/activities/MainWebViewActivity.java | 3 --- 1 file changed, 3 deletions(-) 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) { -- 2.45.2