From 5cb4024aaa5778518db647ca4ee4a86ad823940b Mon Sep 17 00:00:00 2001 From: OliE Date: Sun, 17 Dec 2017 17:59:45 +0100 Subject: [PATCH] show build code in about page --- .../com/health/openscale/gui/preferences/AboutPreferences.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/gui/preferences/AboutPreferences.java b/android_app/app/src/main/java/com/health/openscale/gui/preferences/AboutPreferences.java index 278cbc7f..69cff9dc 100644 --- a/android_app/app/src/main/java/com/health/openscale/gui/preferences/AboutPreferences.java +++ b/android_app/app/src/main/java/com/health/openscale/gui/preferences/AboutPreferences.java @@ -30,6 +30,6 @@ public class AboutPreferences extends PreferenceFragment { addPreferencesFromResource(R.xml.about_preferences); - findPreference(KEY_APP_VERSION).setSummary("v" + BuildConfig.VERSION_NAME); + findPreference(KEY_APP_VERSION).setSummary("v" + BuildConfig.VERSION_NAME + " (" + BuildConfig.VERSION_CODE + ")"); } }