fix: default theme summary not change

when the default theme changing, it also need to update theme name
pull/111/head
Mupceet 5 years ago
parent f06d77de89
commit 71f4dc5171
  1. 1
      app/src/main/java/io/legado/app/ui/config/ThemeConfigFragment.kt

@ -141,6 +141,7 @@ class ThemeConfigFragment : PreferenceFragmentCompat(), SharedPreferences.OnShar
AppConfig.isNightTheme = true
}
}
putPrefInt("defaultTheme", which)
App.INSTANCE.applyDayNight()
recreateActivities()
}

Loading…
Cancel
Save