💄 The payment now no longer auto procced
This commit is contained in:
@@ -142,10 +142,6 @@ class _PaymentContentState extends ConsumerState<_PaymentContent> {
|
|||||||
// Set initial mode based on stored PIN and biometric support
|
// Set initial mode based on stored PIN and biometric support
|
||||||
if (_hasStoredPin && _hasBiometricSupport && widget.enableBiometric) {
|
if (_hasStoredPin && _hasBiometricSupport && widget.enableBiometric) {
|
||||||
_isPinMode = false;
|
_isPinMode = false;
|
||||||
// Automatically trigger biometric authentication
|
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
|
||||||
_authenticateWithBiometric();
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
_isPinMode = true;
|
_isPinMode = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user