feat(auth): server endpoint in bottom sheet on login

This commit is contained in:
klockky
2026-04-07 13:36:30 +03:00
parent dc2a23ccf0
commit 91bdfea222
10 changed files with 408 additions and 14 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ class Api {
});
try {
await _connection.connect(ServerConfig.host, ServerConfig.port);
final endpoint = await ServerConfig.loadEndpoint();
await _connection.connect(endpoint.host, endpoint.port);
} catch (e) {
logger.e('Не удалось подключиться: $e');
_cleanup();