Skip to content

Commit

Permalink
fix: await calls to change overlap in example (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Jun 23, 2024
1 parent e84442c commit c842911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/lib/place_symbol.dart
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ class PlaceSymbolBodyState extends State<PlaceSymbolBody> {
setState(() {
_iconAllowOverlap = !_iconAllowOverlap;
});
controller!.setSymbolIconAllowOverlap(_iconAllowOverlap);
controller!.setSymbolTextAllowOverlap(_iconAllowOverlap);
await controller!.setSymbolIconAllowOverlap(_iconAllowOverlap);
await controller!.setSymbolTextAllowOverlap(_iconAllowOverlap);
}

@override
Expand Down

0 comments on commit c842911

Please sign in to comment.