Make sure that the theme names are always up to date before setting the current theme
This commit is contained in:
parent
ea6e5b8434
commit
a1bfa4afdc
@ -31,6 +31,7 @@ final class ArticleThemesManager: NSObject, NSFilePresenter {
|
|||||||
set {
|
set {
|
||||||
if newValue != currentThemeName {
|
if newValue != currentThemeName {
|
||||||
AppDefaults.shared.currentThemeName = newValue
|
AppDefaults.shared.currentThemeName = newValue
|
||||||
|
updateThemeNames()
|
||||||
updateCurrentTheme()
|
updateCurrentTheme()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user