mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add DefaultUIVolume
option. Closes #1679
This commit is contained in:
parent
ff6c8f7e9d
commit
1467036efd
6 changed files with 18 additions and 1 deletions
|
@ -49,6 +49,7 @@ type configOptions struct {
|
|||
EnableUserEditing bool
|
||||
DefaultTheme string
|
||||
DefaultLanguage string
|
||||
DefaultUIVolume int
|
||||
EnableCoverAnimation bool
|
||||
GATrackingID string
|
||||
EnableLogRedacting bool
|
||||
|
@ -240,6 +241,7 @@ func init() {
|
|||
viper.SetDefault("enableuserediting", true)
|
||||
viper.SetDefault("defaulttheme", "Dark")
|
||||
viper.SetDefault("defaultlanguage", "")
|
||||
viper.SetDefault("defaultuivolume", consts.DefaultUIVolume)
|
||||
viper.SetDefault("enablecoveranimation", true)
|
||||
viper.SetDefault("gatrackingid", "")
|
||||
viper.SetDefault("enablelogredacting", true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue