|
|
|
@ -226,7 +226,7 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
|
|
|
|
|
locationUtils =
|
|
|
|
|
new LocationUtils(isShowConfirmDialog: false, context: context);
|
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
|
|
|
|
locationUtils.getCurrentLocation();
|
|
|
|
|
// locationUtils.getCurrentLocation();
|
|
|
|
|
if (projectViewModel.isLogin) {
|
|
|
|
|
familyFileProvider.getSharedRecordByStatus();
|
|
|
|
|
}
|
|
|
|
@ -253,7 +253,7 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
|
|
|
|
|
if (projectViewModel.isLogin) this.getNotificationCount(DEVICE_TOKEN);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
if (results[Permission.location].isGranted) ;
|
|
|
|
|
if (results[Permission.location].isGranted) {}
|
|
|
|
|
// if (results[Permission.storage].isGranted) ;
|
|
|
|
|
// if (results[Permission.camera].isGranted) ;
|
|
|
|
|
// if (results[Permission.photos].isGranted) ;
|
|
|
|
|