This commit is contained in:
Hamza-Ayed
2025-02-07 23:55:33 +03:00
parent 3162ae823e
commit 5f53461b34
18 changed files with 965 additions and 933 deletions

View File

@@ -52,7 +52,6 @@ class AppInitializer {
try {
var res =
await CRUD().get(link: AppLink.getLocationAreaLinks, payload: {});
Log.print('res: ${res}');
if (res != 'failure') {
links = List<Map<String, dynamic>>.from(jsonDecode(res)['message']);
await box.remove(BoxName.locationName);
@@ -70,8 +69,6 @@ class AppInitializer {
await box.write(BoxName.paymentLink,
encryptionHelper.decryptData(links[4]['server_link']));
}
} catch (e) {
print('Error fetching or decoding location data: $e');
}
} catch (e) {}
}
}