1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Connect to WebSocket

This commit is contained in:
2020-04-17 16:04:47 +02:00
parent 9021ca7168
commit de3cd9c7b7
2 changed files with 44 additions and 3 deletions

View File

@ -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