Skip to content

Commit

Permalink
make sure loadError resets before override
Browse files Browse the repository at this point in the history
  • Loading branch information
maRci002 committed May 6, 2020
1 parent c590ab1 commit 381afd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/layer/tile_layer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,8 @@ class _TileLayerState extends State<TileLayer> with TickerProviderStateMixin {
print(error);

tile.loadError = true;
} else {
tile.loadError = false;
}

var key = _tileCoordsToKey(coords);
Expand Down

0 comments on commit 381afd0

Please sign in to comment.