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?) {