pull/341/head
gedoor 4 years ago
parent f3d68afe35
commit 16e7898b40
  1. 2
      app/src/main/java/io/legado/app/ui/about/AboutFragment.kt

@ -34,7 +34,7 @@ class AboutFragment : PreferenceFragmentCompat() {
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
addPreferencesFromResource(R.xml.about) addPreferencesFromResource(R.xml.about)
findPreference<Preference>("check_update")?.summary = findPreference<Preference>("check_update")?.summary =
"${getString(R.string.version)} ${App.INSTANCE.versionName}" "${getString(R.string.version)} ${App.versionName}"
} }
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { override fun onViewCreated(view: View, savedInstanceState: Bundle?) {

Loading…
Cancel
Save