Merge pull request #10363 from osmandapp/Railway-crossing

Change sign "railway crossing" in Canada
This commit is contained in:
Vitaliy 2020-12-08 21:32:35 +02:00 committed by GitHub
commit 7cd8fa9fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;