diff --git a/ui/app/AppLayouts/Onboarding/OnboardingLayout.qml b/ui/app/AppLayouts/Onboarding/OnboardingLayout.qml index 70188b1c91..6b006cd3fe 100644 --- a/ui/app/AppLayouts/Onboarding/OnboardingLayout.qml +++ b/ui/app/AppLayouts/Onboarding/OnboardingLayout.qml @@ -212,8 +212,7 @@ QtObject { onBackClicked: { if (state === "importseed") { state = "getkeys"; - } else if (((root.keysMainSetState === "connectkeys") && (LoginStore.currentAccount.username !== "")) - || (root.prevState === "LogIn") || (state === "getkeys")) { + } else if ((root.keysMainSetState === "connectkeys" && LoginStore.currentAccount.username !== "") || root.prevState === "LogIn") { Global.applicationWindow.navigateTo("LogIn"); } else { Global.applicationWindow.navigateTo("Welcome");