|
|
|
|
@ -46,7 +46,7 @@ class _SettingsPageState extends State<SettingsPage> {
|
|
|
|
|
void checkForLocalAuth(bool buttonState) async {
|
|
|
|
|
bool authStatus = await _settingProvider.auth.authenticate(
|
|
|
|
|
localizedReason: Platform.isAndroid ? "Scan your fingerprint to authenticate" : "Scan with face id to authenticate",
|
|
|
|
|
options: AuthenticationOptions(biometricOnly: Platform.isAndroid),
|
|
|
|
|
options: AuthenticationOptions(),
|
|
|
|
|
authMessages: [
|
|
|
|
|
IOSAuthMessages(
|
|
|
|
|
cancelButton: 'cancel',
|
|
|
|
|
|