Add:Haptic feedback device setting off/light/medium/heavy #472

This commit is contained in:
advplyr
2023-01-08 15:32:15 -06:00
parent 89041c4141
commit d59f3ae0b6
25 changed files with 133 additions and 73 deletions
+5 -1
View File
@@ -35,7 +35,8 @@ export const state = () => ({
],
libraryIcons: ['database', 'audiobookshelf', 'books-1', 'books-2', 'book-1', 'microphone-1', 'microphone-3', 'radio', 'podcast', 'rss', 'headphones', 'music', 'file-picture', 'rocket', 'power', 'star', 'heart'],
selectedPlaylistItems: [],
showPlaylistsAddCreateModal: false
showPlaylistsAddCreateModal: false,
hapticFeedback: 'LIGHT'
})
export const getters = {
@@ -144,5 +145,8 @@ export const mutations = {
},
setShowPlaylistsAddCreateModal(state, val) {
state.showPlaylistsAddCreateModal = val
},
setHapticFeedback(state, val) {
state.hapticFeedback = val || 'LIGHT'
}
}