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

Improve handling of food selection #575

Merged
merged 4 commits into from
Apr 26, 2022

Conversation

EmilJunker
Copy link
Contributor

This PR improves the selection handling in the food list:

  • The selection is now kept when switching between the foods/meals/recipes tabs.
  • You can clear the selection by pressing the hardware back button.
  • If you edit an item that was already selected, the old item gets removed from the selection (before, it would remove all current items from the selection, not just the edited item).

Closes #569.

@davidhealey davidhealey merged commit 1dbab3e into davidhealey:master Apr 26, 2022
@EmilJunker EmilJunker deleted the food-selection branch April 26, 2022 16:05
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

Successfully merging this pull request may close these issues.

Adding food items to diary: Keep selection when switching tabs
2 participants