Fix for boolean prefs

This commit is contained in:
root
2022-03-18 22:55:22 +05:30
parent 9db5dc6c13
commit 0ed6203a62
+2 -1
View File
@@ -46,7 +46,8 @@ const PrefsStore = {
getters: {
getPreference: state => (id, default_) => {
return state.prefs[id] || default_
const pref = state.prefs[id]
return pref != null ? pref : default_
},
getPreferenceBoolean: (_, getters) => (...args) => {