1
0
Fork 0
mirror of https://github.com/ethauvin/android-about-box.git synced 2025-04-25 02:37:11 -07:00

Use string resource correctly

This commit is contained in:
Michael Mee 2017-02-09 15:41:29 -08:00
parent e2c64ba5a8
commit 5303e1d71e

View file

@ -28,7 +28,7 @@ public final class EmailUtil {
deviceInfo += "\n Device: " + android.os.Build.MODEL + " (" + android.os.Build.PRODUCT + ")";
deviceInfo += "\n Platform: " + platformName(config.buildType);
emailBody = R.string.egab_email_body_prompt + "\n\n\n\n\n"
emailBody = activity.getString(R.string.egab_email_body_prompt) + "\n\n\n\n\n"
+ "---------------------------" + deviceInfo;
}