You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WooCommerce/src/main/kotlin/com/woocommerce/android/ui/orders/wooshippinglabels/components/ShipmentsTabRow.kt
Copy file name to clipboardExpand all lines: WooCommerce/src/main/kotlin/com/woocommerce/android/ui/orders/wooshippinglabels/packages/components/PackageItemComponents.kt
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -55,12 +55,7 @@ fun WooShippingPackageListItem(
55
55
onPackageStarred = onPackageStarred
56
56
)
57
57
} else {
58
-
val swipeToDismissBoxState = rememberSwipeToDismissBoxState(
59
-
confirmValueChange = {
60
-
if (it ==SwipeToDismissBoxValue.EndToStart) onPackageRemoved(packageData)
61
-
it !=SwipeToDismissBoxValue.EndToStart
62
-
}
63
-
)
58
+
val swipeToDismissBoxState = rememberSwipeToDismissBoxState()
64
59
65
60
SwipeToDismissBox(
66
61
state = swipeToDismissBoxState,
@@ -79,6 +74,10 @@ fun WooShippingPackageListItem(
79
74
tint = colorResource(R.color.woo_white)
80
75
)
81
76
}
77
+
},
78
+
onDismiss = {
79
+
if (it ==SwipeToDismissBoxValue.EndToStart) onPackageRemoved(packageData)
Copy file name to clipboardExpand all lines: WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/emailreceipt/WooPosEmailReceiptRepository.kt
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ class WooPosEmailReceiptRepository @Inject constructor(
Copy file name to clipboardExpand all lines: WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/localcatalog/WooPosLocalCatalogSyncRepository.kt
0 commit comments