diff --git a/auth/lib/services/local_authentication_service.dart b/auth/lib/services/local_authentication_service.dart index f47ed693cd..9072d02184 100644 --- a/auth/lib/services/local_authentication_service.dart +++ b/auth/lib/services/local_authentication_service.dart @@ -122,7 +122,7 @@ class LocalAuthenticationService { Future isLocalAuthSupportedOnDevice() async { try { - return Platform.isMacOS || Platform.isLinux + return Platform.isLinux ? await FlutterLocalAuthentication().canAuthenticate() : await LocalAuthentication().isDeviceSupported(); } on MissingPluginException {