fixed reset 2
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:geojson/geojson.dart';
|
||||
import 'package:geolocator/geolocator.dart';
|
||||
@ -447,8 +449,8 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
destinationController.is_at_start.value ==
|
||||
true
|
||||
? ElevatedButton(
|
||||
onPressed: () {
|
||||
destinationController.resetRogaining();
|
||||
onPressed: () async {
|
||||
await destinationController.resetRogaining();
|
||||
destinationController.is_in_rog.value =
|
||||
true;
|
||||
destinationController.addToRogaining(
|
||||
|
||||
Reference in New Issue
Block a user