diff --git a/js/background.js b/js/background.js index 43b11d5ef..9fc52fb57 100644 --- a/js/background.js +++ b/js/background.js @@ -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),