Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit faa401b

Browse files
Remove switch case as we just have to check social login config.
1 parent cd415e8 commit faa401b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

WordPressAuthenticator/Unified Auth/View Related/Get Started/GetStartedViewController.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,7 @@ class GetStartedViewController: LoginViewController, NUXKeyboardResponder {
124124
}()
125125

126126
private var showsContinueButtonAtTheBottom: Bool {
127-
switch screenMode {
128-
case .signInUsingSiteCredentials:
129-
configuration.enableSocialLogin == false
130-
case .signInUsingWordPressComOrSocialAccounts:
131-
configuration.enableSocialLogin == false
132-
}
127+
configuration.enableSocialLogin == false
133128
}
134129

135130
override open var sourceTag: WordPressSupportSourceTag {

0 commit comments

Comments
 (0)