mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 21:38:03 +00:00
show version name in settings
This commit is contained in:
parent
289c79a398
commit
a8f7282677
@ -72,6 +72,8 @@ public class UserPreference extends AppCompatActivity {
|
||||
|
||||
addPreferencesFromResource(R.xml.preference);
|
||||
|
||||
findPreference("app_version").setSummary(String.format("Version: %s", BuildConfig.VERSION_NAME));
|
||||
|
||||
findPreference("openpgp_key_id_pref").setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
|
@ -108,4 +108,8 @@
|
||||
android:summary="@string/pref_clear_clipboard_hint"
|
||||
android:title="@string/pref_clear_clipboard_title" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<Preference
|
||||
android:key="app_version"
|
||||
android:title="Version" />
|
||||
</PreferenceScreen>
|
||||
|
Loading…
x
Reference in New Issue
Block a user