Status creation & update & clear

This commit is contained in:
2025-05-10 12:38:34 +08:00
parent d678cc571a
commit fb6e65a0fb
9 changed files with 868 additions and 51 deletions

View File

@ -59,6 +59,7 @@ class WebSocketService {
Uri.parse(url),
headers: {'Authorization': 'Bearer $atk'},
);
// TODO Fix the atk is expired when reconnecting
await _channel!.ready;
_statusStreamController.sink.add(WebSocketState.connected());
_channel!.stream.listen(