pull/32/head
gedoor 6 years ago
parent 09014ae6bb
commit 0ac3cc8307
  1. 2
      app/src/main/java/io/legado/app/ui/config/ThemeConfigFragment.kt

@ -87,7 +87,7 @@ class ThemeConfigFragment : PreferenceFragmentCompat(), SharedPreferences.OnShar
if (App.INSTANCE.getPrefBoolean("isNightTheme", false) == isNightTheme) { if (App.INSTANCE.getPrefBoolean("isNightTheme", false) == isNightTheme) {
App.INSTANCE.upThemeStore() App.INSTANCE.upThemeStore()
LiveEventBus.get().with(Bus.recreate).post("") LiveEventBus.get().with(Bus.recreate).post("")
Handler().postDelayed({activity?.recreate()}, 300) Handler().postDelayed({activity?.recreate()}, 100)
} }
} }

Loading…
Cancel
Save