From 7d2ec79986107819db4c9ef39b58cf182322518d Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 7 Feb 2022 16:27:10 -0800 Subject: [PATCH] Make sure that the theme names are always up to date before setting the current theme --- Shared/ArticleStyles/ArticleThemesManager.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Shared/ArticleStyles/ArticleThemesManager.swift b/Shared/ArticleStyles/ArticleThemesManager.swift index c23f1d7ae..a8c7fe372 100644 --- a/Shared/ArticleStyles/ArticleThemesManager.swift +++ b/Shared/ArticleStyles/ArticleThemesManager.swift @@ -31,6 +31,7 @@ final class ArticleThemesManager: NSObject, NSFilePresenter { set { if newValue != currentThemeName { AppDefaults.shared.currentThemeName = newValue + updateThemeNames() updateCurrentTheme() } }