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

Extract email prompt string into strings.xml

This commit is contained in:
Michael Mee 2017-02-09 15:25:50 -08:00
parent 501017078f
commit 6ef9141109
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,7 @@ import android.os.Build;
import android.text.TextUtils;
import com.eggheadgames.aboutbox.AboutConfig;
import com.eggheadgames.aboutbox.R;
public final class EmailUtil {
@ -28,7 +29,7 @@ public final class EmailUtil {
deviceInfo += "\n Device: " + android.os.Build.MODEL + " (" + android.os.Build.PRODUCT + ")";
deviceInfo += "\n Platform: " + platformName(config.buildType);
emailBody = "Please type your question here: \n\n\n\n\n"
emailBody = R.string.egab_email_body_prompt + "\n\n\n\n\n"
+ "---------------------------" + deviceInfo;
}

View file

@ -21,5 +21,6 @@
<string name="egab_privacy_log_event">Privacy</string>
<string name="egab_acknowledgements_log_event">Acknowledgements</string>
<string name="egab_can_not_open">You don\'t have any app that can open this link</string>
<string name="egab_email_body_prompt">Please type your question here: </string>
</resources>