Skip to content

Commit 2d60abe

Browse files
committed
Updated hasUnsavedChanges after develop merge
1 parent b799ff1 commit 2d60abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/ViewRelated/Products/Edit Product/ProductFormViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private extension ProductFormViewController {
198198
}
199199

200200
@objc func closeNavigationBarButtonTapped() {
201-
guard hasUnsavedChanges(product: product) == false else {
201+
guard hasUnsavedChanges(product: product, password: password) == false else {
202202
presentBackNavigationActionSheet()
203203
return
204204
}

0 commit comments

Comments
 (0)