We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5fd2b3 commit 66141e4Copy full SHA for 66141e4
WooCommerce/Classes/POS/Models/PointOfSaleAggregateModel.swift
@@ -153,8 +153,12 @@ extension PointOfSaleAggregateModel {
153
paymentState = .card(.idle)
154
cardPresentPaymentInlineMessage = nil
155
}
156
+}
157
- private func trackCustomerInteractionStarted() {
158
+// MARK: - Track events
159
+@available(iOS 17.0, *)
160
+private extension PointOfSaleAggregateModel {
161
+ func trackCustomerInteractionStarted() {
162
// At the moment we're assumming that an interaction starts simply when the cart is zero
163
// but a more complex logic will be needed for other cases
164
if cart.count == 0 {
0 commit comments