File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
WooCommerce/Classes/POS/Presentation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ struct PointOfSaleCollectCashView: View {
6262 await submitCashAmount ( )
6363 }
6464 }
65- . onChange ( of: textFieldViewModel. amount) { newValue in
65+ . onChange ( of: textFieldViewModel. amount) { _ , newValue in
6666 textFieldAmountInput = newValue
6767 updateChangeDueMessage ( )
6868 }
@@ -105,7 +105,7 @@ struct PointOfSaleCollectCashView: View {
105105 . frame ( minHeight: geometry. size. height)
106106 . animation ( . easeInOut, value: errorMessage)
107107 . animation ( . easeInOut, value: changeDueMessage != nil )
108- . onChange ( of: textFieldAmountInput) { _ in
108+ . onChange ( of: textFieldAmountInput) { _, _ in
109109 errorMessage = nil
110110 }
111111 . onReceive ( Publishers . keyboardFrame) {
You can’t perform that action at this time.
0 commit comments