Skip to content

Commit c507227

Browse files
committed
Merge branch 'fix/pos-historical-orders-fixes-for-beta' into fix/pos-historical-orders-remove-0-lines
2 parents 387da55 + 8593c08 commit c507227

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/orders/WooPosOrdersDetails.kt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,14 @@ fun WooPosOrderDetailsPreview() {
357357
lineItems = listOf(
358358
OrderDetailsViewState.Computed.Details.LineItemRow(101, "Cup", "2 x $4.00", "$8.00", null),
359359
OrderDetailsViewState.Computed.Details.LineItemRow(102, "Coffee Container", "1 x $10.00", "$10.00", null),
360-
OrderDetailsViewState.Computed.Details.LineItemRow(103, "A vey tasty coffee that incidentally has a very long name and should go over a few lines without overlapping anything", "1 x $5.00", "$5.00", null)
360+
OrderDetailsViewState.Computed.Details.LineItemRow(
361+
103,
362+
"A vey tasty coffee that incidentally has a very long name " +
363+
"and should go over a few lines without overlapping anything",
364+
"1 x $5.00",
365+
"$5.00",
366+
null
367+
)
361368
),
362369
breakdown = OrderDetailsViewState.Computed.Details.TotalsBreakdown(
363370
products = "$23.00",

0 commit comments

Comments
 (0)