| .. | .. |
|---|
| 8 | 8 | import '../models/server_config.dart'; |
|---|
| 9 | 9 | import '../models/session.dart'; |
|---|
| 10 | 10 | import '../services/message_store.dart'; |
|---|
| 11 | | -import '../services/websocket_service.dart'; |
|---|
| 11 | +import '../services/websocket_service.dart' show ConnectionStatus; |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | // --- Enums --- |
|---|
| 14 | 14 | |
|---|
| .. | .. |
|---|
| 197 | 197 | |
|---|
| 198 | 198 | final inputModeProvider = StateProvider<InputMode>((ref) => InputMode.voice); |
|---|
| 199 | 199 | |
|---|
| 200 | | -// --- WebSocket Service (singleton) --- |
|---|
| 201 | | - |
|---|
| 202 | | -final webSocketServiceProvider = Provider<WebSocketService?>((ref) { |
|---|
| 203 | | - // This is managed manually in the chat screen |
|---|
| 204 | | - return null; |
|---|
| 205 | | -}); |
|---|
| 200 | +// --- MQTT Service (singleton) --- |
|---|
| 201 | +// The MqttService is managed manually in the chat screen. |
|---|