This commit is contained in:
Hamza Aleghwairyeen
2024-04-01 03:50:11 +03:00
parent b710fe314e
commit 6a0547276b
2 changed files with 5 additions and 3 deletions

View File

@@ -19,7 +19,9 @@ class SettingController extends GetxController {
@override
void onInit() {
isGoogleMapsEnabled = box.read(BoxName.googlaMapApp);
if (box.read(BoxName.googlaMapApp) != null) {
isGoogleMapsEnabled = box.read(BoxName.googlaMapApp);
}
update();
super.onInit();
}