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

Commit 4438428

Browse files
committed
Fix incorrect config checks
1 parent 54df538 commit 4438428

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPressAuthenticator/Signin/LoginPrologueViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,9 @@ class LoginPrologueViewController: LoginViewController {
288288
createSiteButton]
289289
} else if configuration.enableWPComLoginOnlyInPrologue {
290290
buttons = [continueWithWPButton]
291-
} else if configuration.enableWPComLoginOnlyInPrologue && configuration.enableSiteCreation {
291+
} else if configuration.enableSiteAddressLoginOnlyInPrologue && configuration.enableSiteCreation {
292292
buttons = [enterYourSiteAddressButton, createSiteButton]
293-
} else if configuration.enableWPComLoginOnlyInPrologue {
293+
} else if configuration.enableSiteAddressLoginOnlyInPrologue {
294294
buttons = [enterYourSiteAddressButton]
295295
} else if configuration.enableSiteCreation {
296296
let createSiteButtonForBottomStackView = StackedButton(using: createSiteButton,

0 commit comments

Comments
 (0)