File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
WooCommerce/Classes/ViewRelated/Orders/Order Details/Order Summary Section Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,16 @@ import UIKit
22import Yosemite
33import Gridicons
44
5- struct OrderStatusPresentation {
6- let style : OrderStatusEnum
7- let title : String
8- }
9-
105/// The ViewModel for `SummaryTableViewCell`.
116///
127/// TODO This and that cell class should be renamed to be less ambiguous.
138///
149struct SummaryTableViewCellViewModel {
10+ fileprivate struct OrderStatusPresentation {
11+ let style : OrderStatusEnum
12+ let title : String
13+ }
14+
1515 private let billingAddress : Address ?
1616 private let dateCreated : Date
1717 private let orderNumber : String
@@ -96,7 +96,7 @@ final class SummaryTableViewCell: UITableViewCell {
9696
9797 /// Displays the specified OrderStatus, and applies the right Label Style
9898 ///
99- private func display( presentation: OrderStatusPresentation ) {
99+ private func display( presentation: SummaryTableViewCellViewModel . OrderStatusPresentation ) {
100100 paymentStatusLabel. applyStyle ( for: presentation. style)
101101 paymentStatusLabel. text = presentation. title
102102 }
You can’t perform that action at this time.
0 commit comments