CircuitVerse / mobile-app

Mobile App for CircuitVerse
https://play.google.com/store/apps/details?id=org.circuitverse.mobile_app
MIT License
73 stars 94 forks source link

Logged In User's Profile Overwritted In Memory by Other User's Profile #268

Closed tanmoysrt closed 1 year ago

tanmoysrt commented 1 year ago

Describe the bug See this video first

https://user-images.githubusercontent.com/57363826/221566954-26d41cba-ab7d-4439-99c9-7a95822b9a1a.mp4

After logged in the sidebar and profile section, all the correct details of mine is shown. Then, I open any random project and tap on author to open his profile. From that state, if we go back to my profile, I can see , it's no longer showing my profile details and its showing the last visited profile. Then i close the app and reopen the app. Now its also showing wrong name in Sidebar and also showing wrong Profile.

To Reproduce Steps to reproduce the behavior: The video is self-explanatory.

Expected behavior We can open any other's profile but that should not overwrite the details of current logged in user.

Device Information [optional]:

Are you working on this issue? (Yes/No) No