Skip to content

Commit 0dc90c5

Browse files
committed
#191 [SL] - Initialize theme variant calculation in enableAutomaticThemeChange method for posix.
1 parent 4c7d01e commit 0dc90c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gui/system_theme_detector_posix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ func (cm *colorManager) disableAutomaticThemeChange() {
174174

175175
func (cm *colorManager) enableAutomaticThemeChange() {
176176
cm.onThemeChange.enable()
177+
cm.calculateThemeVariant = sync.Once{}
177178
cm.updateTheme()
178179
}
179180

0 commit comments

Comments
 (0)