mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-23 12:16:10 +02:00
Update:Show status bar when ereader toolbar is shown
This commit is contained in:
parent
7b3a005ad6
commit
481d0d0285
2 changed files with 6 additions and 2 deletions
|
@ -201,6 +201,9 @@ class PlayerNotificationService : MediaBrowserServiceCompat() {
|
|||
super.onCreate()
|
||||
ctx = this
|
||||
|
||||
// Initialize Paper
|
||||
DbManager.initialize(ctx)
|
||||
|
||||
// Initialize widget
|
||||
DeviceManager.initializeWidgetUpdater(ctx)
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue