diff --git a/android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt b/android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt index 51354a9f..65fe343d 100644 --- a/android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt +++ b/android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt @@ -201,6 +201,9 @@ class PlayerNotificationService : MediaBrowserServiceCompat() { super.onCreate() ctx = this + // Initialize Paper + DbManager.initialize(ctx) + // Initialize widget DeviceManager.initializeWidgetUpdater(ctx) diff --git a/components/readers/Reader.vue b/components/readers/Reader.vue index 5ba41bb3..a5fb8db4 100644 --- a/components/readers/Reader.vue +++ b/components/readers/Reader.vue @@ -39,10 +39,9 @@ export default { show: { handler(newVal) { if (newVal) { - this.showingToolbar = false this.comicHasMetadata = false this.registerListeners() - this.$showHideStatusBar(false) + this.hideToolbar() } else { this.unregisterListeners() this.$showHideStatusBar(true) @@ -199,9 +198,11 @@ export default { }, showToolbar() { this.showingToolbar = true + this.$showHideStatusBar(true) }, hideToolbar() { this.showingToolbar = false + this.$showHideStatusBar(false) }, toggleToolbar() { if (this.showingToolbar) this.hideToolbar()