diff --git a/app/src/main/java/io/legado/app/help/ThemeConfig.kt b/app/src/main/java/io/legado/app/help/ThemeConfig.kt index 412b6b8bf..2b19e0136 100644 --- a/app/src/main/java/io/legado/app/help/ThemeConfig.kt +++ b/app/src/main/java/io/legado/app/help/ThemeConfig.kt @@ -44,7 +44,6 @@ object ThemeConfig { fun addConfig(json: String) { GSON.fromJsonObject(json)?.let { addConfig(it) - save() } } @@ -56,6 +55,7 @@ object ThemeConfig { } } configList.add(newConfig) + save() } private fun getConfigs(): List? {