aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com/zeapo
diff options
context:
space:
mode:
authorMohamed <mohamed@zenadi.com>2017-06-13 13:05:10 +0200
committerMohamed <mohamed@zenadi.com>2017-06-13 13:05:10 +0200
commita8f728267787cc3891aa0a8e50e239547a0b13c2 (patch)
treecc0ecc575adabe01ff0287c5ad704bc25eacd32c /app/src/main/java/com/zeapo
parent289c79a39853985f5bad6340871014738afe8332 (diff)
show version name in settings
Diffstat (limited to 'app/src/main/java/com/zeapo')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/UserPreference.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
index f17f52a4..ff3ff1f9 100644
--- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
+++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
@@ -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) {