Is there an existing issue for this?
What happened?
-
Where: ChatScreen.initState
-
Issue: _initializeServices is called without awaiting (fire-and-forget). If the user types a message immediately, _supabaseService might not be ready, causing a crash in _sendMessage.
-
Fix: Show a loading spinner until _initializeServices completes.
@SharkyBytes Please checkout the PR raised for this fix
Record