Skip to content

Commit a073fb1

Browse files
committed
Switch to HStack from AdaptiveStack
1 parent 24db6b4 commit a073fb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/Shipping Labels/WooShipping Create Shipping Labels/WooShippingCreateLabelsView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ private extension WooShippingCreateLabelsView {
400400
Text(Localization.BottomSheet.orderDetails)
401401
.footnoteStyle()
402402
}
403-
AdaptiveStack {
403+
HStack {
404404
Image(uiImage: .productIcon)
405405
.frame(width: Layout.iconSize)
406406
Text(viewModel.orderItems.itemsCountLabel)
@@ -409,7 +409,7 @@ private extension WooShippingCreateLabelsView {
409409
Text(viewModel.orderItems.itemsPriceLabel)
410410
}
411411
ForEach(viewModel.shippingLines) { shippingLine in
412-
AdaptiveStack {
412+
HStack {
413413
Image(uiImage: .shippingIcon)
414414
.frame(width: Layout.iconSize)
415415
Text(shippingLine.title)
@@ -493,7 +493,7 @@ private extension WooShippingCreateLabelsView {
493493
}
494494

495495
func shippingRateRow(label: String, amount: String?) -> some View {
496-
AdaptiveStack {
496+
HStack {
497497
Text(label)
498498
Spacer()
499499
Text(amount ?? "$0.00")

0 commit comments

Comments
 (0)