Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 9119fc7

Browse files
authored
Reset pin just as confirmation pin, otherwise the pin field will stay filled
1 parent 47c93fa commit 9119fc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/blocs/cubit/setup_local_auth_cubit.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ class SetuplocalauthCubit extends Cubit<SetupStage> {
107107
emit(
108108
lastState.copyWith(
109109
error: l,
110+
pin: l == LocalAuthFailure.pinNotMatching ? '' : null,
110111
confirmationPin: l == LocalAuthFailure.pinNotMatching ? '' : null,
111112
),
112113
);

0 commit comments

Comments
 (0)