|
|
|
|
@ -231,15 +231,15 @@ class ServicesView extends StatelessWidget {
|
|
|
|
|
openLiveCare(context);
|
|
|
|
|
} else if (hmgServices.action == 2) {
|
|
|
|
|
//todo for temporary basis
|
|
|
|
|
Navigator.push(context, FadePage(page: VitalSigns()));
|
|
|
|
|
// Navigator.push(context, FadePage(page: VitalSigns()));
|
|
|
|
|
|
|
|
|
|
// initPenguinSDK();
|
|
|
|
|
// if (projectViewModel.isIndoorNavigationEnabled) {
|
|
|
|
|
// if (!isLocked) openNavigationProjectSelection(context);
|
|
|
|
|
// } else {
|
|
|
|
|
// Navigator.push(context, FadePage(page: ErOptions(isAppbar: true)));
|
|
|
|
|
// locator<GAnalytics>().hmgServices.logServiceName('emergency service');
|
|
|
|
|
// }
|
|
|
|
|
if (projectViewModel.isIndoorNavigationEnabled) {
|
|
|
|
|
if (!isLocked) openNavigationProjectSelection(context);
|
|
|
|
|
} else {
|
|
|
|
|
Navigator.push(context, FadePage(page: ErOptions(isAppbar: true)));
|
|
|
|
|
locator<GAnalytics>().hmgServices.logServiceName('emergency service');
|
|
|
|
|
}
|
|
|
|
|
} else if (hmgServices.action == 3) {
|
|
|
|
|
Navigator.push(context, FadePage(page: HomeHealthCarePage()));
|
|
|
|
|
locator<GAnalytics>().hmgServices.logServiceName('home health care');
|
|
|
|
|
|