Skip to content

Commit e090244

Browse files
committed
Fix #697: Add Artists to supported startup pages
1 parent 729dc91 commit e090244

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

backend/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ type Config struct {
177177
PeakMeter PeakMeterConfig
178178
}
179179

180-
var SupportedStartupPages = []string{"Albums", "Favorites", "Playlists"}
180+
var SupportedStartupPages = []string{"Albums", "Favorites", "Playlists", "Artists"}
181181

182182
func DefaultConfig(appVersionTag string) *Config {
183183
return &Config{

ui/mainwindow.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ func (m *MainWindow) setInitialSize() {
214214

215215
func (m *MainWindow) StartupPage() controller.Route {
216216
switch m.App.Config.Application.StartupPage {
217+
case "Artists":
218+
return controller.ArtistsRoute()
217219
case "Favorites":
218220
return controller.FavoritesRoute()
219221
case "Playlists":

0 commit comments

Comments
 (0)