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

Fix several issues #32

Merged
merged 4 commits into from
Apr 4, 2022
Merged

Fix several issues #32

merged 4 commits into from
Apr 4, 2022

Conversation

kirmanak
Copy link
Owner

@kirmanak kirmanak commented Apr 4, 2022

  1. IllegalStateException when inflating a menu
  2. Pressing back on AuthenticationFragment does nothing
  3. Login/logout button shown on initial screens
  4. IllegalStateException when clicking login after logout after login

If login request isn't disabled when user presses
back then they might get navigated back to
authentication again.
The previous login result was stored as live data and
prevented AuthenticationFragment from being shown
properly. However, an attempt to destroy RecipesFragment
was made. This attempt caused IllegalStateException
when accessing view in onDestroyView.
@kirmanak kirmanak self-assigned this Apr 4, 2022
@kirmanak kirmanak enabled auto-merge April 4, 2022 15:58
@kirmanak kirmanak merged commit 2e5684c into master Apr 4, 2022
@kirmanak kirmanak deleted the fixes branch April 4, 2022 16:00
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.

1 participant