From: Soren Stoutner Date: Mon, 25 Jan 2021 21:52:11 +0000 (-0700) Subject: Reset the navigation drawer icon when the drawer is closed. https://redmine.stoutner... X-Git-Tag: v3.7~10 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=a7f6058e46d437af0b533a44bc26e7af3971518f;p=PrivacyBrowserAndroid.git Reset the navigation drawer icon when the drawer is closed. https://redmine.stoutner.com/issues/616 --- 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 971eaad1..9d589498 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java @@ -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