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

                    return
                }

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

            return

                SocketManager.removeConnectionHandler(token: strongSelf.socketHandlerToken)

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