Skip to content
Prev Previous commit
Next Next commit
[google_maps_flutter_android] Fix test in interpretGoogleMapOptions
  • Loading branch information
jokerttu committed Apr 27, 2023
commit 4aee29a8970904146cc9ac90ea1571ac84c3406f
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ static void interpretGoogleMapOptions(Object o, GoogleMapOptionsSink sink) {
sink.setBuildingsEnabled(toBoolean(buildingsEnabled));
}
final Object cloudMapId = data.get("cloudMapId");
if (buildingsEnabled != null) {
if (cloudMapId != null) {
sink.setMapId(toString(cloudMapId));
}
}
Expand Down