diff --git a/lib/view/page/private_key/edit.dart b/lib/view/page/private_key/edit.dart index 9061eb00..17044830 100644 --- a/lib/view/page/private_key/edit.dart +++ b/lib/view/page/private_key/edit.dart @@ -80,9 +80,9 @@ class _PrivateKeyEditPageState extends State final name = nameController.text; final key = keyController.text; final pwd = pwdController.text; - if (name.isEmpty || key.isEmpty || pwd.isEmpty) { + if (name.isEmpty || key.isEmpty) { showSnackBar( - context, const Text('Three fields must not be empty.')); + context, const Text('Name and Key must not be empty.')); return; } FocusScope.of(context).unfocus();