diff options
author | 2022-06-21 01:13:52 +0100 | |
---|---|---|
committer | 2022-06-21 01:13:52 +0100 | |
commit | 6fec8365f601d71f4d8e0863683f34cbe8dd111e (patch) | |
tree | eecb873ee26a351b828468960805d308c9818940 /src/components | |
parent | Fix images with query strings (#318) (diff) | |
download | ferdium-app-6fec8365f601d71f4d8e0863683f34cbe8dd111e.tar.gz ferdium-app-6fec8365f601d71f4d8e0863683f34cbe8dd111e.tar.zst ferdium-app-6fec8365f601d71f4d8e0863683f34cbe8dd111e.zip |
Feature: Add Toggle Navbar to View Menu (global) (#317)
Add Toggle Navbar to View Menu (global)
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/services/content/ServiceView.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js index 5ff059f52..504325c3a 100644 --- a/src/components/services/content/ServiceView.js +++ b/src/components/services/content/ServiceView.js | |||
@@ -77,12 +77,13 @@ class ServiceView extends Component { | |||
77 | isSpellcheckerEnabled, | 77 | isSpellcheckerEnabled, |
78 | } = this.props; | 78 | } = this.props; |
79 | 79 | ||
80 | const { navigationBarBehaviour } = stores.settings.app; | 80 | const { navigationBarBehaviour, navigationBarManualActive } = stores.settings.app; |
81 | 81 | ||
82 | const showNavBar = | 82 | const showNavBar = |
83 | navigationBarBehaviour === 'always' || | 83 | navigationBarBehaviour === 'always' || |
84 | (navigationBarBehaviour === 'custom' && | 84 | (navigationBarBehaviour === 'custom' && |
85 | service.recipe.id === CUSTOM_WEBSITE_RECIPE_ID); | 85 | service.recipe.id === CUSTOM_WEBSITE_RECIPE_ID) || |
86 | navigationBarManualActive; | ||
86 | 87 | ||
87 | const webviewClasses = classnames({ | 88 | const webviewClasses = classnames({ |
88 | services__webview: true, | 89 | services__webview: true, |