Skip to content

Commit 99c811a

Browse files
author
Sharma Elanthiriayan
committed
Rename method to add more meaning.
1 parent 485c2fc commit 99c811a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/Classes/ViewRelated/Reviews/ReviewsViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class ReviewsViewController: UIViewController {
1818
let item = UIBarButtonItem(image: .ellipsisImage,
1919
style: .plain,
2020
target: self,
21-
action: #selector(presentActionSheet))
21+
action: #selector(presentMoreActions))
2222
item.accessibilityIdentifier = "reviews-open-menu-button"
2323
item.accessibilityTraits = .button
2424
item.accessibilityLabel = Localization.MenuButton.accessibilityLabel
@@ -241,7 +241,7 @@ private extension ReviewsViewController {
241241

242242
/// Presents an action sheet on tapping the menu right bar button item.
243243
///
244-
@IBAction func presentActionSheet() {
244+
@IBAction func presentMoreActions() {
245245
let actionSheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
246246
actionSheet.view.tintColor = .text
247247

0 commit comments

Comments
 (0)