Skip to content

Commit

Permalink
Remove switch case as we just have to check social login config.
Browse files Browse the repository at this point in the history
  • Loading branch information
selanthiraiyan committed Apr 9, 2024
1 parent cd415e8 commit faa401b
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,7 @@ class GetStartedViewController: LoginViewController, NUXKeyboardResponder {
}()

private var showsContinueButtonAtTheBottom: Bool {
switch screenMode {
case .signInUsingSiteCredentials:
configuration.enableSocialLogin == false
case .signInUsingWordPressComOrSocialAccounts:
configuration.enableSocialLogin == false
}
configuration.enableSocialLogin == false
}

override open var sourceTag: WordPressSupportSourceTag {
Expand Down

0 comments on commit faa401b

Please sign in to comment.