aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/SettingsStore.js
diff options
context:
space:
mode:
authorLibravatar Daniel Peukert <dan.peukert@gmail.com>2020-02-13 10:23:13 +0100
committerLibravatar Daniel Peukert <dan.peukert@gmail.com>2020-02-13 10:23:13 +0100
commitd84e0bad1260ac56f7632fc62fa5d6cdc6ca3766 (patch)
tree5af580728d2985e609d1a8ba4c3ce8c3e38a922e /src/stores/SettingsStore.js
parentMerge pull request #365 from getferdi/l10n_develop (diff)
downloadferdium-app-d84e0bad1260ac56f7632fc62fa5d6cdc6ca3766.tar.gz
ferdium-app-d84e0bad1260ac56f7632fc62fa5d6cdc6ca3766.tar.zst
ferdium-app-d84e0bad1260ac56f7632fc62fa5d6cdc6ca3766.zip
Replace deprecated Electron functions with properties
Diffstat (limited to 'src/stores/SettingsStore.js')
-rw-r--r--src/stores/SettingsStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js
index 428b6342c..da63bc972 100644
--- a/src/stores/SettingsStore.js
+++ b/src/stores/SettingsStore.js
@@ -50,7 +50,7 @@ export default class SettingsStore extends Store {
50 () => { 50 () => {
51 const currentWindow = remote.getCurrentWindow(); 51 const currentWindow = remote.getCurrentWindow();
52 currentWindow.setMenuBarVisibility(!this.all.app.autohideMenuBar); 52 currentWindow.setMenuBarVisibility(!this.all.app.autohideMenuBar);
53 currentWindow.setAutoHideMenuBar(this.all.app.autohideMenuBar); 53 currentWindow.autoHideMenuBar = this.all.app.autohideMenuBar;
54 }, 54 },
55 ); 55 );
56 56