File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
WooCommerce/Classes/ViewRelated/Fancy Alerts Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import WordPressUI
22import SafariServices
33
4- static func makeWhatIsJetpackAlertController( ) -> FancyAlertViewController {
54extension FancyAlertViewController {
6- let dismissButton = makeDismissButtonConfig ( )
5+ static func makeWhatIsJetpackAlertController( analytics: Analytics ) -> FancyAlertViewController {
6+ let dismissButton = FancyAlertViewController . Config. ButtonConfig ( Localization . dismissButton) { controller, _ in
7+ controller. dismiss ( animated: true )
8+ analytics. track ( . loginWhatIsJetpackHelpScreenOkButtonTapped)
9+ }
710 let moreInfoButton = makeMoreInfoButtonConfig ( )
811 let config = FancyAlertViewController . Config ( titleText: Localization . whatIsJetpack,
912 bodyText: Localization . whatIsJetpackLongDescription,
You can’t perform that action at this time.
0 commit comments