mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Fix bug in preferences
This commit is contained in:
@@ -3,7 +3,11 @@ import { get as _get, isString, set as _set } from 'lodash-es'
|
||||
const PrefsStore = {
|
||||
namespaced: true,
|
||||
state: () => ({
|
||||
prefs: {}
|
||||
// Declaring boolean values here because v-simple-checkbox has a bug (???) which renders it unable to have internal state
|
||||
prefs: {
|
||||
playerAutoplay: true,
|
||||
audioOnly: false
|
||||
}
|
||||
}),
|
||||
mutations: {
|
||||
setPrefs (state, {
|
||||
|
||||
Reference in New Issue
Block a user