5/2/pass3

This commit is contained in:
Hamza-Ayed
2024-05-02 12:52:04 +03:00
parent a6d93a935c
commit dd4e3a2e20
3 changed files with 91 additions and 83 deletions

View File

@@ -58,14 +58,14 @@ void main() async {
print(Get.deviceLocale!.countryCode);
Stripe.publishableKey = AK.publishableKey;
if (box.read(BoxName.driverID) != null) {
Get.defaultDialog(
title: 'Gps required',
middleText: '',
confirm: MyElevatedButton(
title: 'ok'.tr,
onPressed: () {
Get.put(LocationBackgroundController());
}));
// Get.defaultDialog(
// title: 'Gps required',
// middleText: '',
// confirm: MyElevatedButton(
// title: 'ok'.tr,
// onPressed: () {
// Get.put(LocationBackgroundController());
// }));
}
if (Platform.isAndroid || Platform.isIOS) {
await Firebase.initializeApp(