mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-06-30 00:54:39 +02:00
Add:iOS audio player
This commit is contained in:
parent
4496b1170c
commit
4bf75c606a
24 changed files with 467 additions and 129 deletions
|
@ -1,8 +1,14 @@
|
|||
import Vue from 'vue'
|
||||
import { App } from '@capacitor/app'
|
||||
import { Dialog } from '@capacitor/dialog'
|
||||
import { StatusBar, Style } from '@capacitor/status-bar';
|
||||
import { formatDistance, format } from 'date-fns'
|
||||
|
||||
const setStatusBarStyleDark = async () => {
|
||||
await StatusBar.setStyle({ style: Style.Dark })
|
||||
}
|
||||
setStatusBarStyleDark()
|
||||
|
||||
App.addListener('backButton', async ({ canGoBack }) => {
|
||||
if (!canGoBack) {
|
||||
const { value } = await Dialog.confirm({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue