diff options
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/AboutPreference.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/AboutPreference.java b/src/main/java/de/pixart/messenger/ui/AboutPreference.java index 724dc3e83..1cfd8cbd6 100644 --- a/src/main/java/de/pixart/messenger/ui/AboutPreference.java +++ b/src/main/java/de/pixart/messenger/ui/AboutPreference.java @@ -5,7 +5,7 @@ import android.content.Intent; import android.preference.Preference; import android.util.AttributeSet; -import de.pixart.messenger.BuildConfig; +import de.pixart.messenger.R; import de.pixart.messenger.utils.PhoneHelper; public class AboutPreference extends Preference { @@ -27,7 +27,7 @@ public class AboutPreference extends Preference { } private void setSummary() { - setSummary("Pix-Art Messenger " + PhoneHelper.getVersionName(getContext()) + " [" + BuildConfig.FLAVOR + "]"); + setSummary(getContext().getString(R.string.app_name) + ' ' + PhoneHelper.getVersionName(getContext())); } } |