Put BuildConfig.VERSION_NAME back in the prefs screen.
This commit is contained in:
parent
d7caee4131
commit
670f219ed7
2 changed files with 1 additions and 3 deletions
|
@ -2,8 +2,6 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="net.voussoir.trkpt">
|
||||
|
||||
|
||||
|
||||
<!-- USE GPS AND NETWORK - EXCLUDE NON-GPS DEVICES -->
|
||||
<uses-feature android:name="android.hardware.location.gps" android:required="true" />
|
||||
<uses-feature android:name="android.hardware.location.network" />
|
||||
|
|
|
@ -237,7 +237,7 @@ class SettingsFragment : PreferenceFragmentCompat(), YesNoDialog.YesNoDialogList
|
|||
val preferenceAppVersion = Preference(context)
|
||||
preferenceAppVersion.title = getString(R.string.pref_app_version_title)
|
||||
preferenceAppVersion.setIcon(R.drawable.ic_info_24dp)
|
||||
preferenceAppVersion.summary = getString(R.string.pref_app_version_summary)
|
||||
preferenceAppVersion.summary = getString(R.string.pref_app_version_summary) + " " + BuildConfig.VERSION_NAME
|
||||
preferenceAppVersion.setOnPreferenceClickListener {
|
||||
// copy to clipboard
|
||||
val clip: ClipData = ClipData.newPlainText("simple text", preferenceAppVersion.summary)
|
||||
|
|
Loading…
Reference in a new issue