Accoun settings

This commit is contained in:
2025-05-28 01:08:18 +08:00
parent 552bdfa58f
commit aaa505e83e
7 changed files with 735 additions and 182 deletions

View File

@ -157,7 +157,7 @@ class WebSocketStateNotifier extends StateNotifier<WebSocketState> {
await service.connect(ref);
state = const WebSocketState.connected();
service.statusStream.listen((event) {
state = event;
if (mounted) state = event;
});
} catch (err) {
state = WebSocketState.error('Failed to connect: $err');