ecency / ecency-mobile

Ecency Mobile - reimagined social blogging, contribute and get rewarded (for Android and iOS)

Home Page:https://ecency.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Selecting a server from servers list dropdown, will add it to the servers list again

muja555 opened this issue · comments

Describe the bug
Selecting a server from the servers list in the settings screen will add the selected servers on top of the servers list while it's already there. keep selecting servers will add to the list.

I debugged the code and a response of servers list return with

To Reproduce
Steps to reproduce the behavior:
1- Go to 'settings'
2- Click on 'server' dropdown
3- Choose another server or the same server
4- Go to 'settings' -> 'server' dropdown again
See the duplicated servers items

Expected behavior
The servers list items should not be duplicated

Screenshots or Video

Screen.Recording.2023-10-04.at.12.45.42.AM.mov

Smartphone (please complete the following information):

  • Device: [iPhone11x]
  • OS: iOS15.7.3
  • Version 3.0.39 (3860