From c54ba8d1fa2f43df438385ceda37a639a6002716 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Fri, 13 Jul 2018 08:58:35 -0700 Subject: [PATCH] Ensure that notifications and auto-hide window settings are saved --- js/background.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),