|
|
|
@ -180,8 +180,12 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
|
|
|
|
|
|
|
|
|
|
locationUtils =
|
|
|
|
|
new LocationUtils(isShowConfirmDialog: true, context: context);
|
|
|
|
|
WidgetsBinding.instance
|
|
|
|
|
.addPostFrameCallback((_) => locationUtils.getCurrentLocation());
|
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
|
|
|
|
locationUtils.getCurrentLocation();
|
|
|
|
|
if (projectViewModel.isLogin) {
|
|
|
|
|
familyFileProvider.getSharedRecordByStatus();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// HMG (Guest/Internet) Wifi Access [Zohaib Kambrani]
|
|
|
|
|
HMGNetworkConnectivity(context, () {
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
@ -472,7 +476,6 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
familyFileProvider.getSharedRecordByStatus();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -480,6 +483,7 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
projectViewModel = Provider.of(context);
|
|
|
|
|
model = Provider.of<ToDoCountProviderModel>(context);
|
|
|
|
|
|
|
|
|
|
return Scaffold(
|
|
|
|
|
appBar: AppBar(
|
|
|
|
|
elevation: 0,
|
|
|
|
|