fix : ui fix after release 1.3.3
This commit is contained in:
@@ -49,10 +49,11 @@ class RootLogic extends GetxController {
|
||||
super.onInit();
|
||||
localDatasource = diChicken.get<ChickenLocalDataSourceImp>();
|
||||
chickenRepository = diChicken.get<ChickenRepositoryImp>();
|
||||
localDatasource.openBox().then((value) async {
|
||||
widelyUsedList.value = localDatasource.getAllWidely();
|
||||
});
|
||||
|
||||
widelyUsedList.value = localDatasource.getAllWidely();
|
||||
|
||||
//getKillHouseDistributionInfo();
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -70,9 +71,7 @@ class RootLogic extends GetxController {
|
||||
}
|
||||
|
||||
if (widelyUsedList.value?.hasInit != true) {
|
||||
localDatasource.initWidleyUsed().then(
|
||||
(value) => localDatasource.getAllWidely(),
|
||||
);
|
||||
localDatasource.initWidleyUsed().then((value) => localDatasource.getAllWidely());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user