mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
isUnique=true for null widget.credentials
This commit is contained in:
parent
a3d89aa8d3
commit
8b52c20d16
@ -164,7 +164,7 @@ class _OathAddAccountPageState extends ConsumerState<OathAddAccountPage> {
|
||||
element.name == _accountController.text.trim() &&
|
||||
(element.issuer ?? '') == _issuerController.text.trim())
|
||||
.isEmpty ??
|
||||
false;
|
||||
true;
|
||||
|
||||
final isValid = _accountController.text.trim().isNotEmpty &&
|
||||
secret.isNotEmpty &&
|
||||
|
Loading…
Reference in New Issue
Block a user