Skip to content

Commit 0eb3865

Browse files
committed
EmptyStateVC: Rename actionButton callback for clarity
1 parent 3bf88cf commit 0eb3865

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

WooCommerce/Classes/ViewRelated/ReusableViews/EmptyStateViewController/EmptyStateViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ final class EmptyStateViewController: UIViewController, KeyboardFrameAdjustmentP
177177
}
178178

179179
/// OnTouchUpInside handler for the `actionButton`.
180-
@IBAction private func callActionButtonConfigOnTapCallback(_ sender: Any) {
180+
@IBAction private func actionButtonTapped(_ sender: Any) {
181181
lastActionButtonConfig?.onTap()
182182
}
183183
}

WooCommerce/Classes/ViewRelated/ReusableViews/EmptyStateViewController/EmptyStateViewController.xib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<nil key="highlightedColor"/>
4141
</label>
4242
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="woo-empty-search-results" translatesAutoresizingMaskIntoConstraints="NO" id="YZ8-4Q-SGO">
43-
<rect key="frame" x="76.5" y="73" width="145" height="105"/>
43+
<rect key="frame" x="76" y="73" width="146" height="105"/>
4444
</imageView>
4545
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iFj-AP-WfL">
4646
<rect key="frame" x="0.5" y="210" width="297" height="108.5"/>
@@ -56,7 +56,7 @@
5656
</constraints>
5757
<state key="normal" title="Action Button"/>
5858
<connections>
59-
<action selector="callActionButtonConfigOnTapCallback:" destination="-1" eventType="touchUpInside" id="Tdd-LW-tQx"/>
59+
<action selector="actionButtonTapped:" destination="-1" eventType="touchUpInside" id="Tdd-LW-tQx"/>
6060
</connections>
6161
</button>
6262
</subviews>

0 commit comments

Comments
 (0)