Skip to content

Commit

Permalink
Add condition and update comment for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
selanthiraiyan committed Apr 9, 2024
1 parent fe43e9b commit cd415e8
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -825,13 +825,14 @@ private extension GetStartedViewController {
self?.handleSiteCredentialsButtonTapped()
}
} else {
// Add a "Continue" button here as the `continueButton` at the top
// will not be displayed for `signInUsingSiteCredentials` screen mode.
// Add a "Continue" button here as the `continueButton` at the top will be hidden
//
buttonViewController.setupTopButton(title: ButtonConfiguration.Continue.title,
isPrimary: true,
accessibilityIdentifier: ButtonConfiguration.Continue.accessibilityIdentifier) { [weak self] in
self?.handleSubmitButtonTapped()
if showsContinueButtonAtTheBottom {
buttonViewController.setupTopButton(title: ButtonConfiguration.Continue.title,
isPrimary: true,
accessibilityIdentifier: ButtonConfiguration.Continue.accessibilityIdentifier) { [weak self] in
self?.handleSubmitButtonTapped()
}
}

// Setup Sign in with site credentials button
Expand Down

0 comments on commit cd415e8

Please sign in to comment.