add new setting themeImages and fix default themeing
This commit is contained in:
parent
a18c19bbf2
commit
cb3b0b4c46
|
@ -35,6 +35,7 @@ type GlobalSettings struct {
|
||||||
Locale string
|
Locale string
|
||||||
Theme string
|
Theme string
|
||||||
ThemeMode string
|
ThemeMode string
|
||||||
|
ThemeImages bool
|
||||||
PreviousPid int64
|
PreviousPid int64
|
||||||
ExperimentsEnabled bool
|
ExperimentsEnabled bool
|
||||||
Experiments map[string]bool
|
Experiments map[string]bool
|
||||||
|
@ -62,7 +63,9 @@ type GlobalSettings struct {
|
||||||
|
|
||||||
var DefaultGlobalSettings = GlobalSettings{
|
var DefaultGlobalSettings = GlobalSettings{
|
||||||
Locale: "en",
|
Locale: "en",
|
||||||
Theme: "dark",
|
Theme: "cwtch",
|
||||||
|
ThemeMode: "dark",
|
||||||
|
ThemeImages: false,
|
||||||
PreviousPid: -1,
|
PreviousPid: -1,
|
||||||
ExperimentsEnabled: false,
|
ExperimentsEnabled: false,
|
||||||
Experiments: map[string]bool{constants.MessageFormattingExperiment: true},
|
Experiments: map[string]bool{constants.MessageFormattingExperiment: true},
|
||||||
|
|
Loading…
Reference in New Issue