Background type lowercase
This commit is contained in:
parent
dd1791a257
commit
a91fcad0f2
1 changed files with 10 additions and 10 deletions
|
@ -297,9 +297,9 @@ public class FavouritePoint implements Serializable, LocationPoint {
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum BackType {
|
public enum BackType {
|
||||||
CIRCLE("CIRCLE", R.drawable.bg_point_circle),
|
CIRCLE("circle", R.drawable.bg_point_circle),
|
||||||
RHOMB("RHOMB", R.drawable.bg_point_rhomb),
|
RHOMB("rhomb", R.drawable.bg_point_rhomb),
|
||||||
SQUARE("SQUARE", R.drawable.bg_point_square);
|
SQUARE("sqare", R.drawable.bg_point_square);
|
||||||
|
|
||||||
private String typeName;
|
private String typeName;
|
||||||
@StringRes
|
@StringRes
|
||||||
|
@ -334,7 +334,7 @@ public class FavouritePoint implements Serializable, LocationPoint {
|
||||||
if (iconName != null) {
|
if (iconName != null) {
|
||||||
fp.setIconIdFromName(ctx, iconName);
|
fp.setIconIdFromName(ctx, iconName);
|
||||||
}
|
}
|
||||||
fp.setBackType(BackType.valueOf((pt.getBackType())));
|
fp.setBackType(BackType.valueOf((pt.getBackType().toUpperCase())));
|
||||||
return fp;
|
return fp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue