Skip to content

Commit 8593c08

Browse files
committed
detekt fixes
1 parent 4172843 commit 8593c08

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
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",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ class WooPosOrdersViewModel @Inject constructor(
527527
createdAtMillis = order.dateCreated.time
528528
)
529529
}
530-
530+
531531
private suspend fun mapOrderDetails(
532532
order: Order,
533533
refundResult: RefundFetchResult

0 commit comments

Comments
 (0)