Add Apple Music category to Resume Tabs
This commit is contained in:
parent
c262a36190
commit
100d1bf3ba
2 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -90,6 +90,9 @@
|
|||
<select class="md-select" style="width:180px;"
|
||||
v-model="$root.cfg.general.resumeTabs.tab">
|
||||
<option value="home">{{$root.getLz('home.title')}}</option>
|
||||
<option value="listen_now">{{$root.getLz('term.listenNow')}}</option>
|
||||
<option value="browse">{{$root.getLz('term.browse')}}</option>
|
||||
<option value="radio">{{$root.getLz('term.radio')}}</option>
|
||||
<option value="library-recentlyadded">{{$root.getLz('term.recentlyAdded')}}</option>
|
||||
<option value="library-songs">{{$root.getLz('term.songs')}}</option>
|
||||
<option value="library-albums">{{$root.getLz('term.albums')}}</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue