Add Apple Music category to Resume Tabs

This commit is contained in:
Amaru8 2022-04-30 13:42:40 +02:00
parent c262a36190
commit 100d1bf3ba
2 changed files with 4 additions and 1 deletions

View file

@ -1579,7 +1579,7 @@ const app = new Vue({
}
route = route.replace(/#/g, "")
if (app.cfg.general.resumeTabs.tab == "dynamic") {
if (route == "home" || route == "library-songs" || route == "library-albums" || route == "library-artists" || route == "library-videos" || route == "podcasts") {
if (route == "home" || route == "listen_now" || route == "browse" || route == "radio" || route == "library-songs" || route == "library-albums" || route == "library-artists" || route == "library-videos" || route == "podcasts") {
app.cfg.general.resumeTabs.dynamicData = route
} else {
app.cfg.general.resumeTabs.dynamicData = "home"