Fix compilation issue
This commit is contained in:
parent
703204ce19
commit
ce1f2be739
1 changed files with 2 additions and 1 deletions
|
@ -75,8 +75,9 @@ public class GPXUtilities {
|
|||
|
||||
@ColorInt
|
||||
public int getColor(@ColorInt int defColor) {
|
||||
String clrValue = null;
|
||||
if (extensions != null) {
|
||||
String clrValue = extensions.get("color");
|
||||
clrValue = extensions.get("color");
|
||||
if (clrValue == null) {
|
||||
clrValue = extensions.get("colour");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue