mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 12:14:11 +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