1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-12-22 19:08:03 +01:00
This commit is contained in:
vanitasvitae 2016-10-27 12:42:44 +02:00
parent 9214155425
commit 6e1e473aff
Signed by: vanitasvitae
GPG key ID: DCCFB3302C9E4615

View file

@ -576,8 +576,13 @@ public class MainActivity extends ThemedActivity
LocalBroadcastManager.getInstance(this).registerReceiver(brOpenExternalLink, new IntentFilter(ACTION_OPEN_EXTERNAL_URL));
invalidateOptionsMenu();
this.appSettings = getAppSettings();
boolean podSelection = getTopFragment() != null && getTopFragment().getFragmentTag().equals(PodSelectionFragment.TAG);
if (appSettings.isIntellihideToolbars()) {
this.enableToolbarHiding();
if(podSelection) {
this.disableToolbarHiding();
} else {
this.enableToolbarHiding();
}
} else {
this.disableToolbarHiding();
}