Add DefaultUIVolume option. Closes #1679

This commit is contained in:
Deluan 2022-11-11 16:31:28 -05:00
parent ff6c8f7e9d
commit 1467036efd
6 changed files with 18 additions and 1 deletions

View file

@ -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)