aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2020-02-12 11:20:25 +0100
committerLibravatar vantezzen <hello@vantezzen.io>2020-02-12 11:20:25 +0100
commit20830e4f896526db66d9b3ace0ebc421620c4049 (patch)
treef88394b9e6c40701a0eb03aca7ea342f30df7f96 /src/stores
parentFix lint (diff)
parentImprove Bug report template (diff)
downloadferdium-app-20830e4f896526db66d9b3ace0ebc421620c4049.tar.gz
ferdium-app-20830e4f896526db66d9b3ace0ebc421620c4049.tar.zst
ferdium-app-20830e4f896526db66d9b3ace0ebc421620c4049.zip
Merge branch 'develop' into publish-debug
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/SettingsStore.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js
index 8a5ee7204..428b6342c 100644
--- a/src/stores/SettingsStore.js
+++ b/src/stores/SettingsStore.js
@@ -47,9 +47,11 @@ export default class SettingsStore extends Store {
47 47
48 reaction( 48 reaction(
49 () => this.all.app.autohideMenuBar, 49 () => this.all.app.autohideMenuBar,
50 () => remote.getCurrentWindow().setAutoHideMenuBar( 50 () => {
51 this.all.app.autohideMenuBar, 51 const currentWindow = remote.getCurrentWindow();
52 ), 52 currentWindow.setMenuBarVisibility(!this.all.app.autohideMenuBar);
53 currentWindow.setAutoHideMenuBar(this.all.app.autohideMenuBar);
54 },
53 ); 55 );
54 56
55 reaction( 57 reaction(