freeCodeCamp / mobile

freeCodeCamp's open-source mobile app made with Flutter

Home Page:https://contribute.freecodecamp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird behavior on close button from challenge view while the eye button is toggled

CaffeineIssues opened this issue · comments

Describe the bug
Not sure if its intended but while having the eye button toggled if i try to use the close button to get back to the challenge list it will instead untoggle the i button making it a little confusing on how to get back to the list. It does seem like the x button and the i button are doing the same thing except that the x button disappears with the challenge info when clicked.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Learn
  2. Open any challenge
  3. Click the eye button to toggle it
  4. Click the X button at the top

Expected behavior
Would be more intuitive if the close button would just close the challenge and move the user back to the challenge list.

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

Smartphone (please complete the following information):

  • Device: Iphone 15 and Iphone SE
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
I can work on this if this behavior is not intended