aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-14 23:20:05 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-14 23:20:05 +0100
commit71a026ebe3f1a91194b59ec037fbb265fa483980 (patch)
tree1bfcef0b2a82db5d2a53a1dfa0501c16381f2c0d /src/main/java/de/pixart/messenger
parent6c07abea647b20cbbe9a70551fc14cdaef5021fb (diff)
add build flavor to about summary
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r--src/main/java/de/pixart/messenger/ui/AboutPreference.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/AboutPreference.java b/src/main/java/de/pixart/messenger/ui/AboutPreference.java
index 239ef53fb..724dc3e83 100644
--- a/src/main/java/de/pixart/messenger/ui/AboutPreference.java
+++ b/src/main/java/de/pixart/messenger/ui/AboutPreference.java
@@ -5,6 +5,7 @@ import android.content.Intent;
import android.preference.Preference;
import android.util.AttributeSet;
+import de.pixart.messenger.BuildConfig;
import de.pixart.messenger.utils.PhoneHelper;
public class AboutPreference extends Preference {
@@ -26,7 +27,7 @@ public class AboutPreference extends Preference {
}
private void setSummary() {
- setSummary("Pix-Art Messenger " + PhoneHelper.getVersionName(getContext()));
+ setSummary("Pix-Art Messenger " + PhoneHelper.getVersionName(getContext()) + " [" + BuildConfig.FLAVOR + "]");
}
}