Config: Set default theme and locale

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-04-05 12:21:05 +02:00
parent e8e7dfa7b6
commit f033fed01c

View file

@ -197,6 +197,10 @@ func (c *Config) Propagate() {
face.ClusterDist = c.FaceClusterDist()
face.MatchDist = c.FaceMatchDist()
// Set default theme and locale.
customize.DefaultTheme = c.DefaultTheme()
customize.DefaultLocale = c.DefaultLocale()
c.Settings().Propagate()
c.Hub().Propagate()
}