mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-25 18:47:12 -07:00
Changed logic to check build type (Close #6)
This commit is contained in:
parent
ed10e03d6b
commit
5d1674a0aa
2 changed files with 47 additions and 24 deletions
|
@ -19,12 +19,15 @@ public final class EmailUtil {
|
|||
|
||||
final String emailSubject;
|
||||
|
||||
if (config.buildType == AboutConfig.BuildType.GOOGLE) {
|
||||
emailSubject = config.emailSubject + "G";
|
||||
} else if (config.buildType == AboutConfig.BuildType.AMAZON) {
|
||||
emailSubject = config.emailSubject + "K";
|
||||
} else {
|
||||
emailSubject = config.emailSubject;
|
||||
switch (config.buildType) {
|
||||
case GOOGLE:
|
||||
emailSubject = config.emailSubject + "G";
|
||||
break;
|
||||
case AMAZON:
|
||||
emailSubject = config.emailSubject + "K";
|
||||
break;
|
||||
default:
|
||||
emailSubject = config.emailSubject;
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue