Update FavouritePoint.java

This commit is contained in:
vshcherb 2020-05-15 16:35:06 +02:00 committed by GitHub
parent a104b69722
commit 93829e1a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -293,7 +293,7 @@ public class FavouritePoint implements Serializable, LocationPoint {
OsmandApplication app = (OsmandApplication) ctx.getApplicationContext();
OsmandPreference parkingType = app.getSettings().getPreference(ParkingPositionPlugin.PARKING_TYPE);
if (parkingType instanceof BooleanPreference && ((BooleanPreference) parkingType).get()) {
return R.drawable.mm_special_parking_time_limited;
return R.drawable.mx_special_parking_time_limited;
}
return iconId;
}
@ -396,4 +396,4 @@ public class FavouritePoint implements Serializable, LocationPoint {
}
return pt;
}
}
}