mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-02 10:04:42 +02:00
fix: use native haptic plugin and remove semicolons
This commit is contained in:
parent
1aa6a441f3
commit
acc5bde33a
16 changed files with 65 additions and 87 deletions
|
@ -25,8 +25,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { Haptics, ImpactStyle } from '@capacitor/haptics';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
@ -107,7 +105,7 @@ export default {
|
|||
},
|
||||
async changeView() {
|
||||
this.bookshelfListView = !this.bookshelfListView
|
||||
await Haptics.impact({ style: ImpactStyle.Medium });
|
||||
await this.$hapticsImpactMedium()
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue