Skip to content

Commit

Permalink
fix android by removing leading and trailing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nac0 committed Sep 21, 2023
1 parent affc77f commit 680e330
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ static PropertyValue[] interpretLineLayerProperties(Object o) {
properties.add(PropertyFactory.lineSortKey(expression));
break;
case "visibility":
properties.add(PropertyFactory.visibility(entry.getValue()));
// remove leading and trailing quotes from entry.getValue()
properties.add(PropertyFactory.visibility(entry.getValue().substring(1, entry.getValue().length() - 1)));
break;
default:
break;
Expand Down

0 comments on commit 680e330

Please sign in to comment.