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

Hide `Edit Profile` button for other users except logged in user #262

Closed tanmoysrt closed 1 year ago

tanmoysrt commented 1 year ago

Describe the bug If we open any other user profile in the app, it shows option to edit that profile.

To Reproduce Steps to reproduce the behavior:

  1. Open Sidebar
  2. Click on "Explore"
  3. Click on "Featured Circuits"
  4. Tap on any circuit
  5. Click on Profile name of the user and you will be shown that Profile page of speicifc user

Expected behavior Only for logged in user, the Edit Profile option should be there. For any other users there should not be any option.

Screenshots If applicable, add screenshots to help explain your problem.

Device Information [optional]:

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