From 5ed0c30ff44bc2c838c73662f34116102df4d463 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Tue, 7 Oct 2025 12:04:17 -0400 Subject: [PATCH] fix: fix onboarding redirect on login (#4265) --- lib/pangea/user/utils/p_login.dart | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/pangea/user/utils/p_login.dart b/lib/pangea/user/utils/p_login.dart index 27fe7b671..ff65cbb42 100644 --- a/lib/pangea/user/utils/p_login.dart +++ b/lib/pangea/user/utils/p_login.dart @@ -87,11 +87,6 @@ Future _loginFuture({ : null, password: controller.passwordController.text.trim(), initialDeviceDisplayName: PlatformInfos.clientName, - onInitStateChanged: (state) { - if (state == InitState.settingUpEncryption) { - context.go("/rooms"); - } - }, ); if (client.onLoginStateChanged.value == LoginState.loggedIn) {