better distinction between green and blue build flavors (#1997)
This commit is contained in:
parent
efdc91d090
commit
0e4236611a
|
@ -62,6 +62,7 @@ android {
|
|||
blue { dimension "color" }
|
||||
green {
|
||||
dimension "color"
|
||||
resValue "string", "app_name", APP_NAME + " Test"
|
||||
applicationIdSuffix ".test"
|
||||
versionNameSuffix "-" + getGitSha()
|
||||
}
|
||||
|
|
|
@ -334,7 +334,7 @@ public class NotificationHelper {
|
|||
.setSmallIcon(R.drawable.ic_notify)
|
||||
.setContentIntent(summary ? summaryResultPendingIntent : eventResultPendingIntent)
|
||||
.setDeleteIntent(deletePendingIntent)
|
||||
.setColor(BuildConfig.DEBUG ? Color.parseColor("#19A341") : ContextCompat.getColor(context, R.color.tusky_blue))
|
||||
.setColor(BuildConfig.FLAVOR == "green" ? Color.parseColor("#19A341") : ContextCompat.getColor(context, R.color.tusky_blue))
|
||||
.setGroup(account.getAccountId())
|
||||
.setAutoCancel(true)
|
||||
.setShortcutId(Long.toString(account.getId()))
|
||||
|
|
Loading…
Reference in New Issue