Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New "empty" entries are not removed #339

Open
Trekky12 opened this issue Feb 17, 2023 · 0 comments
Open

New "empty" entries are not removed #339

Trekky12 opened this issue Feb 17, 2023 · 0 comments

Comments

@Trekky12
Copy link
Contributor

Trekky12 commented Feb 17, 2023

Describe the bug
When a new password entry is generated from the floating button the entry and no text is inserted the "empty" entry is still in the password list when the detail screen is closed.

To Reproduce
Steps to reproduce the behavior:

  1. Click on +
  2. Go back to password list
  3. See "empty" password entry with the label "(kein Titel)"
  4. See the "save" icon despite no changes were made and no warning is shown

Expected behavior
The "empty" entry should not be removed.

Additional context
Apparently when adding a new password entry the entry in die kdbx file is always generated. This entry should be removed when no input is made.
see: https://github.com/authpass/authpass/blob/main/authpass/lib/ui/screens/password_list.dart#L1156 and https://github.com/authpass/authpass/blob/main/authpass/lib/ui/screens/entry_details.dart#L223

Maybe this is related to (and can be fixed with) #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant