Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
cianbuckley committed Sep 29, 2023
1 parent f64463b commit 8b6a99d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class CartViewController: UIViewController, UITableViewDelegate, UITableViewData
ShopifyCheckout.present(checkout: url, from: self, delegate: self)
}

@IBAction public func resetCart() {
@IBAction private func resetCart() {
CartManager.shared.resetCart()
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/ShopifyCheckout/CheckoutDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public protocol CheckoutDelegate: AnyObject {
func checkoutDidClickContactLink(url: URL)
}

extension CheckoutDelegate {
extension CheckoutDelegate where Self: UIViewController {
/// Tells te delegate that the buyer clicked an external link
public func checkoutDidClickLink(url: URL) {
handleUrl(url)
Expand Down

0 comments on commit 8b6a99d

Please sign in to comment.