Skip to content

Commit 07fd62c

Browse files
Remove extra declaration and pass the boolean parameter value directly.
1 parent ed5efa2 commit 07fd62c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ class AuthenticationManager: Authentication {
7070
let isWPComMagicLinkPreferredToPassword = featureFlagService.isFeatureFlagEnabled(.loginMagicLinkEmphasis)
7171
let isWPComMagicLinkShownAsSecondaryActionOnPasswordScreen = featureFlagService.isFeatureFlagEnabled(.loginMagicLinkEmphasisM2)
7272
let isStoreCreationMVPEnabled = featureFlagService.isFeatureFlagEnabled(.storeCreationMVP)
73-
let isNativeJetpackSetupEnabled = true
7473
let isWPComLoginRequiredForSiteCredentialsLogin = !featureFlagService.isFeatureFlagEnabled(.applicationPasswordAuthenticationForSiteCredentialLogin)
7574
let configuration = WordPressAuthenticatorConfiguration(wpcomClientId: ApiCredentials.dotcomAppId,
7675
wpcomSecret: ApiCredentials.dotcomSecret,
@@ -99,7 +98,7 @@ class AuthenticationManager: Authentication {
9998
emphasizeEmailForWPComPassword: true,
10099
wpcomPasswordInstructions:
101100
AuthenticationConstants.wpcomPasswordInstructions,
102-
skipXMLRPCCheckForSiteDiscovery: isNativeJetpackSetupEnabled)
101+
skipXMLRPCCheckForSiteDiscovery: true)
103102

104103
let systemGray3LightModeColor = UIColor(red: 199/255.0, green: 199/255.0, blue: 204/255.0, alpha: 1)
105104
let systemLabelLightModeColor = UIColor(red: 0, green: 0, blue: 0, alpha: 1)

0 commit comments

Comments
 (0)