Skip to content

Commit 636f7fd

Browse files
authored
removing comment re-explains what the code is already doing
1 parent e736bc7 commit 636f7fd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,7 @@ class FtueAuthVariant(
242242
registrationShouldFallback(viewEvents) -> displayFallbackWebDialog()
243243
viewEvents.isRegistrationStarted -> handleRegistrationNavigation(viewEvents.flowResult.orderedStages())
244244
vectorFeatures.isOnboardingCombinedRegisterEnabled() -> openStartCombinedRegister()
245-
else -> {
246-
// First ask for login and password
247-
// I add a tag to indicate that this fragment is a registration stage.
248-
// This way it will be automatically popped in when starting the next registration stage
249-
openAuthLoginFragmentWithTag(FRAGMENT_REGISTRATION_STAGE_TAG)
250-
}
245+
else -> openAuthLoginFragmentWithTag(FRAGMENT_REGISTRATION_STAGE_TAG)
251246
}
252247
}
253248

0 commit comments

Comments
 (0)