fix(app): load connected settings details before preferences resolve

This commit is contained in:
2026-10-21 17:44:09 +01:00
parent ca78f08d09
commit 01624de9cd
3 changed files with 76 additions and 1 deletions
@@ -30,6 +30,9 @@ class SettingsController extends ChangeNotifier {
_connection = client.state {
_lastKind = _connection.kind;
_subscription = client.states.listen(_onConnectionState);
// Details belong to the current socket, not to the preferences read.
// Mark them pending before the first frame when opening Settings live.
if (_connection.kind == transport.ConnectionKind.connected) _requestPing();
}
final transport.PipelinesClient client;