From b6fb37455c54732362bc404a002a7e504aac2a9d Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 1 Mar 2021 14:21:09 +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/storage/Restore.kt | 3 +-- app/src/main/java/io/legado/app/ui/about/AboutFragment.kt | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/storage/Restore.kt b/app/src/main/java/io/legado/app/help/storage/Restore.kt index 9cf94102b..6c52fad00 100644 --- a/app/src/main/java/io/legado/app/help/storage/Restore.kt +++ b/app/src/main/java/io/legado/app/help/storage/Restore.kt @@ -210,7 +210,6 @@ object Restore { is Long -> edit.putLong(it.key, value) is Float -> edit.putFloat(it.key, value) is String -> edit.putString(it.key, value) - else -> Unit } } } @@ -224,8 +223,8 @@ object Restore { autoReadSpeed = appCtx.getPrefInt(PreferKey.autoReadSpeed, 46) } } + appCtx.toastOnUi(R.string.restore_success) withContext(Main) { - appCtx.toastOnUi(R.string.restore_success) delay(100) if (!BuildConfig.DEBUG) { LauncherIconHelp.changeIcon(appCtx.getPrefString(PreferKey.launcherIcon)) diff --git a/app/src/main/java/io/legado/app/ui/about/AboutFragment.kt b/app/src/main/java/io/legado/app/ui/about/AboutFragment.kt index 96297729f..181fcba06 100644 --- a/app/src/main/java/io/legado/app/ui/about/AboutFragment.kt +++ b/app/src/main/java/io/legado/app/ui/about/AboutFragment.kt @@ -34,6 +34,7 @@ class AboutFragment : PreferenceFragmentCompat() { Pair("(QQ群6)870270970", "FeCF8iSxfQbe90HPvGsvcqs5P5oSeY5n"), Pair("(QQ群7)15987187", "S2g2TMD0LGd3sefUADd1AbyPEW2o2XfC"), Pair("(QQ群8)1079926194", "gg2qFH8q9IPFaCHV3H7CqCN-YljvazE1"), + Pair("(QQ群9)892108780", "Ci_O3aysKjEBfplOWeCud-rxl71TjU2Q") ) override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {