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

View file

@ -132,7 +132,7 @@ export default {
}
},
async connectToServer(config) {
await this.$hapticsImpactMedium()
await this.$hapticsImpact()
console.log('[ServerConnectForm] connectToServer', config.address)
this.processing = true
this.serverConfig = {
@ -160,7 +160,7 @@ export default {
},
async removeServerConfigClick() {
if (!this.serverConfig.id) return
await this.$hapticsImpactMedium()
await this.$hapticsImpact()
const { value } = await Dialog.confirm({
title: 'Confirm',
@ -192,7 +192,7 @@ export default {
this.showAuth = true
},
async newServerConfigClick() {
await this.$hapticsImpactMedium()
await this.$hapticsImpact()
this.serverConfig = {
address: '',
userId: '',