Update pages/settings.vue

This commit is contained in:
advplyr 2022-12-09 17:07:50 -06:00 committed by GitHub
parent 5ac925e151
commit ef7bb9a9d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,7 +149,7 @@ export default {
this.saveSettings() this.saveSettings()
}, },
async saveSettings() { async saveSettings() {
await Haptics.impact({ style: ImpactStyle.Medium }); await this.$hapticsImpactMedium()
const updatedDeviceData = await this.$db.updateDeviceSettings({ ...this.settings }) const updatedDeviceData = await this.$db.updateDeviceSettings({ ...this.settings })
console.log('Saved device data', updatedDeviceData) console.log('Saved device data', updatedDeviceData)
if (updatedDeviceData) { if (updatedDeviceData) {