Skip to content

Commit 3d3a689

Browse files
committed
Fixed method naming
1 parent 0c7caeb commit 3d3a689

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

WooCommerce/Classes/ViewRelated/Products/Edit Product/Edit Categories/Add Category/AddProductCategoryViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ private extension AddProductCategoryViewController {
6868
title = Strings.titleView
6969

7070
addCloseNavigationBarButton(title: Strings.cancelButton)
71-
configureRightBarButtomitemAsSave()
71+
configureRightBarButtonItemAsSave()
7272
}
7373

74-
func configureRightBarButtomitemAsSave() {
74+
func configureRightBarButtonItemAsSave() {
7575
navigationItem.setRightBarButton(UIBarButtonItem(title: Strings.saveButton,
7676
style: .done,
7777
target: self,
@@ -129,7 +129,7 @@ extension AddProductCategoryViewController {
129129
let action = ProductCategoryAction.addProductCategory(siteID: siteID,
130130
name: categoryName,
131131
parentID: selectedParentCategory?.categoryID) { [weak self] (result) in
132-
self?.configureRightBarButtomitemAsSave()
132+
self?.configureRightBarButtonItemAsSave()
133133
switch result {
134134
case .success(let category):
135135
self?.onCompletion(category)

0 commit comments

Comments
 (0)