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

Commit 4ab1e1e

Browse files
authored
Merge pull request #8 from NRijnberg/patch-1
Reset pin just as confirmation pin, otherwise the pin field will stay…
2 parents 47c93fa + 1607d70 commit 4ab1e1e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/src/blocs/cubit/setup_local_auth_cubit.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ class SetuplocalauthCubit extends Cubit<SetupStage> {
107107
emit(
108108
lastState.copyWith(
109109
error: l,
110-
confirmationPin: l == LocalAuthFailure.pinNotMatching ? '' : null,
110+
pin: '',
111+
confirmationPin: '',
111112
),
112113
);
113114
},

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pin_lock
22

3-
version: 0.0.1+5
3+
version: 0.0.2
44

55
description: "A full solution to local authentication: it contains authentication logic and tracks authentication-relevant data, while providing an interface for app-specific UI implementatin."
66

0 commit comments

Comments
 (0)