From 2a967e4d5559c04dd5456d93883724d64c04f059 Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Mon, 23 Jan 2023 08:45:13 +0100 Subject: [PATCH] chore(@desktop/onboarding): remove `Create a new profile with the same chatkey` screen from onboarding flow Closes: #9223 --- .../startup/internal/profile_fetching_announcement_state.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/modules/startup/internal/profile_fetching_announcement_state.nim b/src/app/modules/startup/internal/profile_fetching_announcement_state.nim index 06c4bbaa97..9d758549e7 100644 --- a/src/app/modules/startup/internal/profile_fetching_announcement_state.nim +++ b/src/app/modules/startup/internal/profile_fetching_announcement_state.nim @@ -21,4 +21,7 @@ method getNextPrimaryState*(self: ProfileFetchingAnnouncementState, controller: method getNextSecondaryState*(self: ProfileFetchingAnnouncementState, controller: Controller): State = if self.flowType == FlowType.FirstRunOldUserImportSeedPhrase or self.flowType == FlowType.FirstRunOldUserKeycardImport: - return createState(StateType.UserProfileCreateSameChatKey, self.flowType, self) \ No newline at end of file + return createState(StateType.UserProfileCreate, self.flowType, self) + ## Once we decide to have `Create a new profile with the same chatkey` screen again we just need to remove the + ## previous line and include the line below. Skipped due to https://github.com/status-im/status-desktop/issues/9223 + # return createState(StateType.UserProfileCreateSameChatKey, self.flowType, self) \ No newline at end of file