Config: Set default theme and locale
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
e8e7dfa7b6
commit
f033fed01c
1 changed files with 4 additions and 0 deletions
|
@ -197,6 +197,10 @@ func (c *Config) Propagate() {
|
||||||
face.ClusterDist = c.FaceClusterDist()
|
face.ClusterDist = c.FaceClusterDist()
|
||||||
face.MatchDist = c.FaceMatchDist()
|
face.MatchDist = c.FaceMatchDist()
|
||||||
|
|
||||||
|
// Set default theme and locale.
|
||||||
|
customize.DefaultTheme = c.DefaultTheme()
|
||||||
|
customize.DefaultLocale = c.DefaultLocale()
|
||||||
|
|
||||||
c.Settings().Propagate()
|
c.Settings().Propagate()
|
||||||
c.Hub().Propagate()
|
c.Hub().Propagate()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue