fixed saveFile
time time this time for real
This commit is contained in:
@@ -31,7 +31,7 @@ class _TrackingState extends State<Tracking> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
// TODO debugging (i guess)
|
||||
// debugging (i guess)
|
||||
// pathList.add(
|
||||
// LatLng(widget.startPosition.latitude, widget.startPosition.longitude),
|
||||
// );
|
||||
@@ -113,6 +113,7 @@ class _TrackingState extends State<Tracking> {
|
||||
if (position != null) {
|
||||
setState(() {
|
||||
pathList.add(LatLng(position.latitude, position.longitude));
|
||||
// Random value for debugging
|
||||
// pathList.add(LatLng(rand.nextInt(5) + 40, position.longitude));
|
||||
|
||||
locationMarkerPosition = LocationMarkerPosition(
|
||||
@@ -141,7 +142,9 @@ class _TrackingState extends State<Tracking> {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(AppLocalizations.of(context)!.tracking),
|
||||
// leading: IconButton(onPressed: () {}, icon: Icon(Icons.arrow_back_rounded)),
|
||||
leading: IconButton(onPressed: () {
|
||||
Navigator.pop(context);
|
||||
}, icon: Icon(Icons.arrow_back_rounded)),
|
||||
actions: [
|
||||
if (!positionStreamRunning)
|
||||
IconButton(
|
||||
|
||||
Reference in New Issue
Block a user