]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Reset the navigation drawer icon when the drawer is closed. https://redmine.stoutner...
authorSoren Stoutner <soren@stoutner.com>
Mon, 25 Jan 2021 21:52:11 +0000 (14:52 -0700)
committerSoren Stoutner <soren@stoutner.com>
Mon, 25 Jan 2021 21:52:11 +0000 (14:52 -0700)
app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java

index 971eaad1fa5c36082d82d5878f5faaf459e16568..9d589498f0c26f6c4a5c34b0e42ad48f8cc3cfb8 100644 (file)
@@ -3595,6 +3595,8 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook
 
             @Override
             public void onDrawerClosed(@NonNull View drawerView) {
+                // Reset the drawer icon when the drawer is closed.  Otherwise, it is an arrow if the drawer is open when the app is restarted.
+                actionBarDrawerToggle.syncState();
             }
 
             @Override