persist album page tracklist column visibility preference
This commit is contained in:
@@ -20,9 +20,14 @@ type AppConfig struct {
|
||||
WindowHeight int
|
||||
}
|
||||
|
||||
type AlbumPageConfig struct {
|
||||
TracklistColumns []string
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Application AppConfig
|
||||
Servers []*ServerConfig
|
||||
AlbumPage AlbumPageConfig
|
||||
}
|
||||
|
||||
func DefaultConfig() *Config {
|
||||
@@ -31,6 +36,9 @@ func DefaultConfig() *Config {
|
||||
WindowWidth: 1000,
|
||||
WindowHeight: 800,
|
||||
},
|
||||
AlbumPage: AlbumPageConfig{
|
||||
TracklistColumns: []string{"Artist", "Time", "Plays"},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user