diff --git a/public/libs/preferences.js b/public/libs/preferences.js index f90af7462..2485fe8d9 100755 --- a/public/libs/preferences.js +++ b/public/libs/preferences.js @@ -93,12 +93,7 @@ const getPreference = (name) => { return cachedPreferences[name]; }; -const isPreferenceUnset = (name) => { - if (settings.get(`preferences.${v}.${name}`)) { - return false; - } - return true; -}; +const isPreferenceUnset = (name) => settings.get(`preferences.${v}.${name}`) == null; const setPreference = (name, value) => { sendToAllWindows('set-preference', name, value);