25-10-11/1
This commit is contained in:
@@ -36,6 +36,7 @@ Future<void> showDriverGiftClaim(BuildContext context) async {
|
||||
box.read(BoxName.is_claimed) == null) {
|
||||
MyDialog().getDialog(
|
||||
'You have gift 30000 SYP'.tr, 'This for new registration'.tr, () async {
|
||||
Get.back();
|
||||
var res = await CRUD().post(link: AppLink.updateDriverClaim, payload: {
|
||||
'driverId': box.read(BoxName.driverID),
|
||||
});
|
||||
@@ -49,7 +50,6 @@ Future<void> showDriverGiftClaim(BuildContext context) async {
|
||||
);
|
||||
box.write(BoxName.is_claimed, '1');
|
||||
}
|
||||
Get.back();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user