mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-24 12:45:18 +02:00
Update confirm disable auto timer message
This commit is contained in:
parent
b6ab7dc8a7
commit
0509d7105e
2 changed files with 6 additions and 15 deletions
|
@ -107,19 +107,11 @@ export default {
|
|||
},
|
||||
async cancelSleepTimer() {
|
||||
if (this.isAuto) {
|
||||
if (this.$platform === 'ios') {
|
||||
const { value } = await Dialog.confirm({
|
||||
title: 'Confirm',
|
||||
message: this.$strings.MessageConfirmDisableAutoTimerIos
|
||||
})
|
||||
if (!value) return
|
||||
} else {
|
||||
const { value } = await Dialog.confirm({
|
||||
title: 'Confirm',
|
||||
message: this.$strings.MessageConfirmDisableAutoTimerAndroid
|
||||
})
|
||||
if (!value) return
|
||||
}
|
||||
const { value } = await Dialog.confirm({
|
||||
title: 'Confirm',
|
||||
message: this.$strings.MessageConfirmDisableAutoTimer
|
||||
})
|
||||
if (!value) return
|
||||
}
|
||||
|
||||
await this.$hapticsImpact()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue