Skip to content

Commit

Permalink
move initPositionStream outside
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0ngg4n committed Nov 4, 2021
1 parent 0412daa commit c57cb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/map/poster_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class PosterMapViewState extends State<PosterMapView> {
Map<Polyline, List<LatLng>> polylines = {};
late CenterOnLocationUpdate _centerOnLocationUpdate;
late StreamController<double> _userPositionStreamController;
late StreamSubscription<Position>? _currentPositionStreamSubscription;
StreamSubscription<Position>? _currentPositionStreamSubscription;
late SharedPreferences prefs;
bool drawNearestPosterLine = false;
bool showAreasOnMap = true;
Expand Down

0 comments on commit c57cb08

Please sign in to comment.