fix: fix onboarding redirect on login (#4265)

This commit is contained in:
ggurdin 2025-10-07 12:04:17 -04:00 committed by GitHub
parent a44e378f4f
commit 5ed0c30ff4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,11 +87,6 @@ Future<void> _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) {