Commit 61ed0a61 authored by T Dev. D's avatar T Dev. D 😎
Browse files

modify use of version_name

parent 1ef90fad
...@@ -451,7 +451,7 @@ class SettingsDetailsFragment(private val key: String?) : PreferenceFragmentComp ...@@ -451,7 +451,7 @@ class SettingsDetailsFragment(private val key: String?) : PreferenceFragmentComp
private fun otherSettings() { private fun otherSettings() {
val aboutPref = findPreference("about") as Preference? val aboutPref = findPreference("about") as Preference?
aboutPref?.summary = "Samourai," + " " + resources.getString(R.string.version_name) aboutPref?.summary = "Samourai," + " " + BuildConfig.VERSION_NAME
aboutPref?.onPreferenceClickListener = Preference.OnPreferenceClickListener { aboutPref?.onPreferenceClickListener = Preference.OnPreferenceClickListener {
val intent = Intent(activity, AboutActivity::class.java) val intent = Intent(activity, AboutActivity::class.java)
startActivity(intent) startActivity(intent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment