Change sign "railway crossing" in Canada

This commit is contained in:
androiddevkkotlin 2020-12-08 20:32:23 +02:00
parent e625e4d101
commit 12d54fd941

View file

@ -116,7 +116,9 @@ public class AlarmWidget {
} else if (alarm.getType() == AlarmInfo.AlarmInfoType.STOP) {
locimgId = R.drawable.warnings_stop;
} else if (alarm.getType() == AlarmInfo.AlarmInfoType.RAILWAY) {
if (americanType) {
if (isCanadianRegion) {
locimgId = R.drawable.warnings_railways_ca;
} else if (americanType) {
locimgId = R.drawable.warnings_railways_us;
} else {
locimgId = R.drawable.warnings_railways;