mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-06-24 14:18:50 +02:00
Update:Remove call to server for settings filter/sort/playback rate
This commit is contained in:
parent
4fd4cc5604
commit
0890a44c0b
8 changed files with 52 additions and 75 deletions
|
@ -5,8 +5,6 @@ import { StatusBar, Style } from '@capacitor/status-bar';
|
|||
import { formatDistance, format, addDays, isDate } from 'date-fns'
|
||||
import { Capacitor } from '@capacitor/core';
|
||||
|
||||
Vue.prototype.$eventBus = new Vue()
|
||||
|
||||
if (Capacitor.getPlatform() != 'web') {
|
||||
const setStatusBarStyleDark = async () => {
|
||||
await StatusBar.setStyle({ style: Style.Dark })
|
||||
|
@ -206,7 +204,9 @@ Vue.prototype.$setOrientationLock = (orientationLockSetting) => {
|
|||
}
|
||||
}
|
||||
|
||||
export default ({ store, app }) => {
|
||||
export default ({ store, app }, inject) => {
|
||||
inject('eventBus', new Vue())
|
||||
|
||||
// iOS Only
|
||||
// backButton event does not work with iOS swipe navigation so use this workaround
|
||||
if (app.router && Capacitor.getPlatform() === 'ios') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue