fingerprint login issue fixed.

flutter_3.16.0_zoom
Sultan khan 1 year ago
parent 9cd330bad0
commit baff15d04d

@ -448,7 +448,7 @@ class _VerificationMethodsScreenState extends State<VerificationMethodsScreen> {
if (isActive) {
await authenticationViewModel.showIOSAuthMessages();
if (!mounted) return;
if (authenticationViewModel.user != null &&
if (authenticationViewModel.user != null && authenticationViewModel.user!.logInTypeID !=null &&
(SelectedAuthMethodTypesService.getMethodsTypeService(authenticationViewModel.user!.logInTypeID!) == AuthMethodTypes.Fingerprint ||
SelectedAuthMethodTypesService.getMethodsTypeService(authenticationViewModel.user!.logInTypeID!) == AuthMethodTypes.FaceID)) {
this.sendActivationCode(authMethodTypes);

@ -182,7 +182,7 @@ class _LabsHomePageState extends State<LabsHomePage> {
),
),
),
if (model.patientLabOrdersList.isEmpty && patient!.patientStatusType! != 43)
if (model.patientLabOrdersList.isEmpty && (patient!.patientStatusType != 43 && patient!.patientStatusType !=null))
Center(
child: ErrorMessage(
error: TranslationBase.of(context).noDataAvailable,

Loading…
Cancel
Save