Add "All Tracks" option to Startup page (#955)

This commit is contained in:
Kryštof Baksa
2026-06-17 08:48:56 -07:00
committed by GitHub
parent 1794d690ee
commit 2ffbbba3db
3 changed files with 7 additions and 1 deletions
+4
View File
@@ -66,6 +66,10 @@ func AlbumRoute(albumID string) Route {
return Route{Page: Album, Arg: albumID}
}
func AllTracksRoute() Route {
return Route{Page: Tracks}
}
func FavoritesRoute() Route {
return Route{Page: Favorites}
}
+2
View File
@@ -281,6 +281,8 @@ func (m *MainWindow) ReloadTheme() {
func (m *MainWindow) StartupPage() controller.Route {
switch m.App.Config.Application.StartupPage {
case "All Tracks":
return controller.AllTracksRoute()
case "Artists":
return controller.ArtistsRoute()
case "Favorites":