🐛 Fix bugs

This commit is contained in:
2025-10-20 23:48:24 +08:00
parent 64c60ead48
commit 2a7d12de48

View File

@@ -193,10 +193,7 @@ class _PaymentContentState extends ConsumerState<_PaymentContent> {
// Perform biometric authentication // Perform biometric authentication
final bool didAuthenticate = await _localAuth.authenticate( final bool didAuthenticate = await _localAuth.authenticate(
localizedReason: 'biometricPrompt'.tr(), localizedReason: 'biometricPrompt'.tr(),
options: const AuthenticationOptions( biometricOnly: true,
biometricOnly: true,
stickyAuth: true,
),
); );
if (didAuthenticate) { if (didAuthenticate) {