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

problems when going into profile page with another user account #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jinseok9338
Copy link

 Original Code has a bug where if you sign out (a person A) and log in with another account (PersonB) and go to the profile page using bottomNavigationItem, the previous profile (Person A) appears not the other one I couldn't figure out why it happens, so I inserted the user uid directly into function that returns the page list. I still don't know why the auth user uid doesn't get passed to profile page, but adding uid directly from the bottom navigation tap seems to fix the issue. I think since we set the Page List as constant, the auth user uid also became constant  rather than listening to the change of the auth state I hope it helps

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