mirror of
https://github.com/gsantner/dandelion
synced 2024-11-22 12:22:08 +01:00
Fixed #91
This commit is contained in:
parent
9214155425
commit
6e1e473aff
1 changed files with 6 additions and 1 deletions
|
@ -576,8 +576,13 @@ public class MainActivity extends ThemedActivity
|
||||||
LocalBroadcastManager.getInstance(this).registerReceiver(brOpenExternalLink, new IntentFilter(ACTION_OPEN_EXTERNAL_URL));
|
LocalBroadcastManager.getInstance(this).registerReceiver(brOpenExternalLink, new IntentFilter(ACTION_OPEN_EXTERNAL_URL));
|
||||||
invalidateOptionsMenu();
|
invalidateOptionsMenu();
|
||||||
this.appSettings = getAppSettings();
|
this.appSettings = getAppSettings();
|
||||||
|
boolean podSelection = getTopFragment() != null && getTopFragment().getFragmentTag().equals(PodSelectionFragment.TAG);
|
||||||
if (appSettings.isIntellihideToolbars()) {
|
if (appSettings.isIntellihideToolbars()) {
|
||||||
|
if(podSelection) {
|
||||||
|
this.disableToolbarHiding();
|
||||||
|
} else {
|
||||||
this.enableToolbarHiding();
|
this.enableToolbarHiding();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.disableToolbarHiding();
|
this.disableToolbarHiding();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue