mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-12 15:04:43 +02:00
Add:Haptic feedback device setting off/light/medium/heavy #472
This commit is contained in:
parent
89041c4141
commit
d59f3ae0b6
25 changed files with 133 additions and 73 deletions
|
@ -212,7 +212,7 @@ class AbsDatabaseWeb extends WebPlugin {
|
|||
}
|
||||
|
||||
async updateDeviceSettings(payload) {
|
||||
var deviceData = await this.getDeviceData()
|
||||
const deviceData = await this.getDeviceData()
|
||||
deviceData.deviceSettings = payload
|
||||
localStorage.setItem('device', JSON.stringify(deviceData))
|
||||
return deviceData
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue