From 753988900a8906e64ff84b7bc5ef2203d94e676a Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 9 Sep 2020 14:36:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/ThemeConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? {