Skip to content

Commit 58b7814

Browse files
committed
Rename makeMoreInfoButtonConfig to non-generic name
1 parent 5327a0f commit 58b7814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/Classes/ViewRelated/Fancy Alerts/FancyAlertViewController+UnifiedLogin.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extension FancyAlertViewController {
77
controller.dismiss(animated: true)
88
analytics.track(.loginWhatIsJetpackHelpScreenOkButtonTapped)
99
}
10-
let moreInfoButton = makeMoreInfoButtonConfig()
10+
let moreInfoButton = makeLearnMoreAboutJetpackButtonConfig()
1111
let config = FancyAlertViewController.Config(titleText: Localization.whatIsJetpack,
1212
bodyText: Localization.whatIsJetpackLongDescription,
1313
headerImage: .whatIsJetpackImage,
@@ -96,7 +96,7 @@ private extension FancyAlertViewController {
9696
}
9797
}
9898

99-
static func makeMoreInfoButtonConfig() -> FancyAlertViewController.Config.ButtonConfig {
99+
static func makeLearnMoreAboutJetpackButtonConfig(analytics: Analytics) -> FancyAlertViewController.Config.ButtonConfig {
100100
return FancyAlertViewController.Config.ButtonConfig(Localization.learnMore) { controller, _ in
101101
guard let url = URL(string: Strings.whatsJetpackURLString) else {
102102
return

0 commit comments

Comments
 (0)