mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Connect to WebSocket
This commit is contained in:
@ -49,7 +49,9 @@ class _InitializeWidgetState extends State<InitializeWidget> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return WebSocketHelper.isConnected() ? MainRoute() : _buildNonReadyWidget();
|
||||
return !_error && WebSocketHelper.isConnected()
|
||||
? MainRoute()
|
||||
: _buildNonReadyWidget();
|
||||
}
|
||||
|
||||
/// Build loading widget
|
||||
|
Reference in New Issue
Block a user