add new setting themeImages and fix default themeing
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is pending Details

This commit is contained in:
Dan Ballard 2024-01-06 11:56:29 -08:00
parent a18c19bbf2
commit cb3b0b4c46
1 changed files with 4 additions and 1 deletions

View File

@ -35,6 +35,7 @@ type GlobalSettings struct {
Locale string
Theme string
ThemeMode string
ThemeImages bool
PreviousPid int64
ExperimentsEnabled bool
Experiments map[string]bool
@ -62,7 +63,9 @@ type GlobalSettings struct {
var DefaultGlobalSettings = GlobalSettings{
Locale: "en",
Theme: "dark",
Theme: "cwtch",
ThemeMode: "dark",
ThemeImages: false,
PreviousPid: -1,
ExperimentsEnabled: false,
Experiments: map[string]bool{constants.MessageFormattingExperiment: true},