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

Bug fix, code optimization, small ux changes #6

Merged
merged 3 commits into from
Mar 22, 2022
Merged

Conversation

mvnowak
Copy link
Contributor

@mvnowak mvnowak commented Mar 22, 2022

  • Fixed bug that would allow adding entries with duplicate names => 2 distinct elements would be displayed in the list, but only 1 would be saved due to identical keys in the hash map

  • Replaced prompt updating via looper with distinct update calls when:

    1. Activity is created
    2. Entry is deleted
    3. Activity is resumed (When returning from Create activity)
  • Moved Floating Action Button further away from the screen edge to make it more accessible, changed icon tint to white

  • Fixed typo in description

@@ -12,6 +12,7 @@
android:theme="@style/Theme.Sobriety">
<activity
android:name=".Create"
android:windowSoftInputMode="adjustResize"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is necessary, to display the Snackbar "Can't create entries with duplicate keys" above the opened keyboard.

@KiARC
Copy link
Owner

KiARC commented Mar 22, 2022

Looks great!

@KiARC KiARC merged commit 646ae81 into KiARC:dev Mar 22, 2022
@KiARC KiARC added the bug Something isn't working label Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants