5/11/1
This commit is contained in:
@@ -309,8 +309,6 @@ class OrderSpeedRequest extends StatelessWidget {
|
||||
kolor: AppColor.greenColor,
|
||||
title: 'Accept Order'.tr,
|
||||
onPressed: () async {
|
||||
box.write(BoxName.statusDriverLocation, 'on');
|
||||
|
||||
var res = await CRUD()
|
||||
.post(link: AppLink.updateStausFromSpeed, payload: {
|
||||
'id': myList[16],
|
||||
@@ -337,6 +335,7 @@ class OrderSpeedRequest extends StatelessWidget {
|
||||
Get.back();
|
||||
}));
|
||||
} else if (jsonDecode(res)['status'] == "success") {
|
||||
box.write(BoxName.statusDriverLocation, 'on');
|
||||
List<String> bodyToPassenger = [
|
||||
box.read(BoxName.driverID).toString(),
|
||||
box.read(BoxName.nameDriver).toString(),
|
||||
|
||||
Reference in New Issue
Block a user