Make sure that the theme names are always up to date before setting the current theme

This commit is contained in:
Maurice Parker 2022-02-07 16:27:10 -08:00
parent 063da4ac02
commit 7d2ec79986

View File

@ -31,6 +31,7 @@ final class ArticleThemesManager: NSObject, NSFilePresenter {
set {
if newValue != currentThemeName {
AppDefaults.shared.currentThemeName = newValue
updateThemeNames()
updateCurrentTheme()
}
}