|
|
|
|
@ -1419,7 +1419,8 @@ class AuthenticationViewModel extends ChangeNotifier {
|
|
|
|
|
if (value) {
|
|
|
|
|
LoaderBottomSheet.showLoader();
|
|
|
|
|
success();
|
|
|
|
|
loginTypeEnum = (_appState.deviceTypeID == 1 ? LoginTypeEnum.face : LoginTypeEnum.fingerprint);
|
|
|
|
|
// loginTypeEnum = (_appState.deviceTypeID == 1 ? LoginTypeEnum.face : LoginTypeEnum.fingerprint);
|
|
|
|
|
loginTypeEnum = (Platform.isIOS ? LoginTypeEnum.face : LoginTypeEnum.fingerprint);
|
|
|
|
|
if (!_appState.isAuthenticated) {
|
|
|
|
|
//commenting this api to check either the same flow working or not because this api does not needed further if work fine we will remove this
|
|
|
|
|
await getPatientDeviceData(loginTypeEnum.toInt);
|
|
|
|
|
|