This commit is contained in:
Hamza-Ayed
2024-02-11 00:32:26 +03:00
parent 7c627d5182
commit bbd4ce792e

View File

@@ -402,6 +402,10 @@ class MapDriverController extends GetxController {
'$minutes:${seconds.toString().padLeft(2, '0')}';
update();
}
if (remainingTimeTimerRideBegin < 120) {
// to make driver available on last 2 minute in his trip
box.write(BoxName.statusDriverLocation, 'off');
}
}
void updateMarker() {