Skip to content

Commit

Permalink
fix: moved applyFit in mounted check
Browse files Browse the repository at this point in the history
  • Loading branch information
TesteurManiak committed Oct 17, 2023
1 parent 24517a9 commit a1c493a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/map/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ class _FlutterMapStateContainer extends State<FlutterMap>
oldCamera,
newMapCamera,
);
}

_applyInitialCameraFit(constraints);
_applyInitialCameraFit(constraints);
}
});
}
}
Expand Down

0 comments on commit a1c493a

Please sign in to comment.