From b9c4223a5e108c374c6442c230b82d8bdacc5a73 Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Fri, 28 Oct 2016 12:51:45 +0200 Subject: [PATCH] Fixed intellihide not applied in onresume --- .../github/dfa/diaspora_android/activity/MainActivity.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java b/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java index 9e4dafee..dcce13ec 100644 --- a/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java +++ b/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java @@ -577,6 +577,11 @@ public class MainActivity extends ThemedActivity LocalBroadcastManager.getInstance(this).registerReceiver(brOpenExternalLink, new IntentFilter(ACTION_OPEN_EXTERNAL_URL)); invalidateOptionsMenu(); this.appSettings = getAppSettings(); + if(appSettings.isIntellihideToolbars()) { + enableToolbarHiding(); + } else { + disableToolbarHiding(); + } updateNavigationViewEntryVisibilities(); }