This commit is contained in:
Hamza-Ayed
2024-02-22 16:19:45 +03:00
parent 9d839f02ae
commit a9f557ca83
85 changed files with 9196 additions and 494 deletions

View File

@@ -27,7 +27,7 @@ class LocationController extends GetxController {
getLocation();
// myLocation=getLocation();
totalPoints = Get.find<CaptainWalletController>().totalPoints;
totalPoints = Get.put(CaptainWalletController()).totalPoints;
}
void startLocationUpdates() async {
@@ -36,7 +36,7 @@ class LocationController extends GetxController {
totalPoints = Get.find<CaptainWalletController>().totalPoints;
// if (isActive) {
if (double.parse(totalPoints) > -100) {
if (double.parse(totalPoints) > -500) {
print('total point is $totalPoints');
await getLocation();