fix(mobile): duplicate server urls returned (#26864)

remove server url

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Mert 2026-03-13 22:09:42 -05:00 committed by GitHub
parent 48fe111daa
commit ff936f901d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -176,10 +176,6 @@ class ApiService {
if (serverEndpoint != null && serverEndpoint.isNotEmpty) {
urls.add(serverEndpoint);
}
final serverUrl = Store.tryGet(StoreKey.serverUrl);
if (serverUrl != null && serverUrl.isNotEmpty) {
urls.add(serverUrl);
}
final localEndpoint = Store.tryGet(StoreKey.localEndpoint);
if (localEndpoint != null && localEndpoint.isNotEmpty) {
urls.add(localEndpoint);