9/10/1
This commit is contained in:
@@ -98,18 +98,19 @@ class LoginController extends GetxController {
|
||||
'token': box.read(BoxName.tokenFCM),
|
||||
'passengerID': box.read(BoxName.passengerID).toString()
|
||||
});
|
||||
Get.defaultDialog(
|
||||
title: 'Device Change Detected'.tr,
|
||||
middleText:
|
||||
'You can only use one device at a time. This device will now be set as your active device.'
|
||||
.tr,
|
||||
textConfirm: 'OK'.tr,
|
||||
confirmTextColor: Colors.white,
|
||||
onConfirm: () {
|
||||
Get.back();
|
||||
Get.offAll(() => const MapPagePassenger());
|
||||
},
|
||||
);
|
||||
// Get.defaultDialog(
|
||||
// title: 'Device Change Detected'.tr,
|
||||
// middleText:
|
||||
// 'You can only use one device at a time. This device will now be set as your active device.'
|
||||
// .tr,
|
||||
// textConfirm: 'OK'.tr,
|
||||
// confirmTextColor: Colors.white,
|
||||
// onConfirm: () {
|
||||
// Get.back();
|
||||
// Get.offAll(() => const MapPagePassenger());
|
||||
// },
|
||||
// );
|
||||
// Get.snackbar('title', 'message');
|
||||
}
|
||||
}
|
||||
Get.offAll(() => const MapPagePassenger());
|
||||
|
||||
Reference in New Issue
Block a user