From 0401456481982ee8a02a657bad988bb0b1545bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Tue, 24 Feb 2026 19:08:09 +0100 Subject: [PATCH] feat: Remember last successful logged in homeserver --- lib/utils/sign_in_flows/check_homeserver.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/utils/sign_in_flows/check_homeserver.dart b/lib/utils/sign_in_flows/check_homeserver.dart index 6a0e441cf..1466215b5 100644 --- a/lib/utils/sign_in_flows/check_homeserver.dart +++ b/lib/utils/sign_in_flows/check_homeserver.dart @@ -1,3 +1,4 @@ +import 'package:fluffychat/config/setting_keys.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; @@ -65,6 +66,8 @@ Future connectToHomeserverFlow( return; } + await AppSettings.defaultHomeserver.setItem(homeserverInput); + if (context.mounted) { setState(AsyncSnapshot.withData(ConnectionState.done, true)); }