1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-12-22 19:08:03 +01:00

Fixed intellihide not applied in onresume

This commit is contained in:
vanitasvitae 2016-10-28 12:51:45 +02:00
parent 32b747ebb7
commit b9c4223a5e
Signed by: vanitasvitae
GPG key ID: DCCFB3302C9E4615

View file

@ -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();
}