                     return
                 }
 
-                Alert(
-                    key: "error.socket.default_error"
-                    ).present()
+                Alert(key: "error.socket.default_error").present()
             }
 
             return

                    }
                } else {
                    self?.stopLoading()
                    Alert(
                        key: "error.socket.default_error"
                        ).present()
                }
            case .error:
                self?.stopLoading()

                SocketManager.removeConnectionHandler(token: strongSelf.socketHandlerToken)

                if let user = resource.user {
                    if user.username != nil {
                        DispatchQueue.main.async {
                            strongSelf.dismiss(animated: true, completion: nil)
