Initial push to my private server
This commit is contained in:
@@ -35,13 +35,13 @@ Future<void> showDriverGiftClaim(BuildContext context) async {
|
||||
if (box.read(BoxName.is_claimed).toString() == '0' ||
|
||||
box.read(BoxName.is_claimed) == null) {
|
||||
MyDialog().getDialog(
|
||||
'You have gift 300 L.E'.tr, 'This for new registration'.tr, () async {
|
||||
'You have gift 30000 SYP'.tr, 'This for new registration'.tr, () async {
|
||||
var res = await CRUD().post(link: AppLink.updateDriverClaim, payload: {
|
||||
'driverId': box.read(BoxName.driverID),
|
||||
});
|
||||
if (res != 'failure') {
|
||||
Get.find<CaptainWalletController>()
|
||||
.addDriverWallet('new driver', '300', '300');
|
||||
.addDriverWallet('new driver', '30000', '30000');
|
||||
Confetti.launch(
|
||||
context,
|
||||
options:
|
||||
|
||||
Reference in New Issue
Block a user