Skip to content

Commit 1bbf5da

Browse files
authored
Merge branch 'trunk' into woomob-872-shipping-labels-load-shipments-from-local-storage-to
2 parents c3fddaa + b9f8568 commit 1bbf5da

File tree

14 files changed

+9
-22
lines changed

14 files changed

+9
-22
lines changed

RELEASE-NOTES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
-----
66
- [**] Order Details: Update Shipping Labels section for stores with Woo Shipping extension [https://github.com/woocommerce/woocommerce-ios/pull/15889]
77
- [*] Order List: New orders made through Point of Sale are now filterable via the Order List filters menu [https://github.com/woocommerce/woocommerce-ios/pull/15910]
8+
- [*] Shipping Labels: Display base rate on selected shipping service cards [https://github.com/woocommerce/woocommerce-ios/pull/15916]
89
- [*] Shipping Labels: Update mark order completed toggle on purchase form [https://github.com/woocommerce/woocommerce-ios/pull/15917]
910
- [*] Shipping Labels: Optimize data loading on purchase form [https://github.com/woocommerce/woocommerce-ios/pull/15919]
11+
- [internal] Optimized assets for app size reduction [https://github.com/woocommerce/woocommerce-ios/pull/15881]
1012

1113
22.8
1214
-----

WooCommerce/Classes/ViewRelated/Orders/Order Details/Shipping Labels/WooShipping Create Shipping Labels/WooShipping Package and Rate Selection/WooShippingServiceCardViewModel.swift

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,7 @@ final class WooShippingServiceCardViewModel: Identifiable, ObservableObject {
129129
}
130130
}()
131131

132-
let rateLabel = {
133-
let selectedRate = WooShippingSelectedRate(
134-
rate: rate,
135-
signatureRate: signatureRequirement == .signatureRequired ? signatureRate : nil,
136-
adultSignatureRate: signatureRequirement == .adultSignatureRequired ? adultSignatureRate : nil,
137-
carbonNeutralRate: carbonNeutralSelected ? carbonNeutralRate : nil,
138-
saturdayDeliveryRate: saturdayDeliverySelected ? saturdayDeliveryRate : nil,
139-
additionalHandlingRate: additionalHandlingSelected ? additionalHandlingRate : nil
140-
)
141-
return currencyFormatter.formatAmount(Decimal(selectedRate.totalRate)) ?? ""
142-
}()
132+
let rateLabel = currencyFormatter.formatAmount(Decimal(rate.rate)) ?? ""
143133

144134
let daysToDeliveryLabel: String? = {
145135
guard let deliveryDays = rate.deliveryDays else {

WooCommerce/Resources/Images.xcassets/app-password-tutorial-1.imageset/Contents.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"images" : [
33
{
4-
"filename" : "tutorial.pdf",
4+
"filename" : "app-password-tutorial-1.pdf",
55
"idiom" : "universal"
66
}
77
],
Binary file not shown.
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
{
22
"images" : [
33
{
4-
"filename" : "prologue-illustration.pdf",
5-
"idiom" : "universal",
6-
"language-direction" : "left-to-right"
4+
"filename" : "login-prologue-woo-mobile.pdf",
5+
"idiom" : "universal"
76
}
87
],
98
"info" : {
109
"author" : "xcode",
1110
"version" : 1
12-
},
13-
"properties" : {
14-
"localizable" : true,
15-
"preserves-vector-representation" : true
1611
}
1712
}

0 commit comments

Comments
 (0)