]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Do not expand the app bar when a tab is closed. https://redmine.stoutner.com/issues/519
authorSoren Stoutner <soren@stoutner.com>
Mon, 25 Jan 2021 22:00:14 +0000 (15:00 -0700)
committerSoren Stoutner <soren@stoutner.com>
Mon, 25 Jan 2021 22:00:14 +0000 (15:00 -0700)
app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java

index 9d589498f0c26f6c4a5c34b0e42ad48f8cc3cfb8..6eeeb253b25a1492d0b689133b7220167886bd1a 100644 (file)
@@ -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) {