Ensure that notifications and auto-hide window settings are saved
This commit is contained in:
parent
d8e5e5fcf2
commit
c54ba8d1fa
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@
|
|||
},
|
||||
getHideMenuBar: () => storage.get('hide-menu-bar'),
|
||||
setHideMenuBar: value => {
|
||||
storage.get('hide-menu-bar', value);
|
||||
storage.put('hide-menu-bar', value);
|
||||
window.setAutoHideMenuBar(value);
|
||||
window.setMenuBarVisibility(!value);
|
||||
},
|
||||
|
@ -142,7 +142,7 @@
|
|||
getNotificationSetting: () =>
|
||||
storage.get('notification-setting', 'message'),
|
||||
setNotificationSetting: value =>
|
||||
storage.get('notification-setting', value),
|
||||
storage.put('notification-setting', value),
|
||||
getAudioNotification: () => storage.get('audio-notification'),
|
||||
setAudioNotification: value => storage.put('audio-notification', value),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue