From a7f6058e46d437af0b533a44bc26e7af3971518f Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Mon, 25 Jan 2021 14:52:11 -0700 Subject: [PATCH] Reset the navigation drawer icon when the drawer is closed. https://redmine.stoutner.com/issues/616 --- .../stoutner/privacybrowser/activities/MainWebViewActivity.java | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2