Skip to content

Commit 86afe3c

Browse files
committed
Fix merge conflicts
1 parent 421b0f0 commit 86afe3c

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

WooCommerce/Classes/ViewRelated/Orders/OrderDetails/OrderDetailsViewController.swift

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,11 @@ class OrderDetailsViewController: UIViewController {
6565
// the API response always sends customer note data
6666
// if there is no customer note it sends an empty string
6767
// but order has customerNote as an optional property right now
68-
guard let customerNote = order.customerNote,
69-
!customerNote.isEmpty else {
70-
sections = [summarySection, productListSection, infoSection, paymentSection]
71-
sections = [summarySection, infoSection, paymentSection, orderNotesSection]
68+
guard let customerNote = order.customerNote, !customerNote.isEmpty else {
69+
sections = [summarySection, productListSection, infoSection, paymentSection, orderNotesSection]
7270
return
7371
}
74-
sections = [summarySection, productListSection, customerNoteSection, infoSection, paymentSection]
75-
sections = [summarySection, customerNoteSection, infoSection, paymentSection, orderNotesSection]
72+
sections = [summarySection, productListSection, customerNoteSection, infoSection, paymentSection, orderNotesSection]
7673
}
7774

7875
func configureNibs() {

WooCommerce/WooCommerce.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,6 @@
655655
CE22571B20E16FBC0037F478 /* AddItemTableViewCell.xib in Resources */,
656656
CEE005F82077C9690079161F /* order-list.json in Resources */,
657657
B5D1AFB420BC445A00DB0E8C /* Images.xcassets in Resources */,
658-
CEE005FC2077CA030079161F /* order-949.json in Resources */,
659658
CE1EC8CF20B6FD53009762BF /* FootnoteView.xib in Resources */,
660659
CEE005F62076C4040079161F /* Orders.storyboard in Resources */,
661660
CE855367209BA6A700938BDC /* ShowHideSectionFooter.xib in Resources */,
@@ -673,7 +672,6 @@
673672
CE1EC8C620B46819009762BF /* PaymentTableViewCell.xib in Resources */,
674673
B56DB3CF2049BFAA00D4AA8E /* Main.storyboard in Resources */,
675674
CE1EC8DF20B76651009762BF /* order-notes-1044.json in Resources */,
676-
CEE005FA2077C9C00079161F /* order-925.json in Resources */,
677675
CE1EC8C820B478B6009762BF /* TwoColumnLabelView.xib in Resources */,
678676
CE855365209BA6A700938BDC /* CustomerInfoTableViewCell.xib in Resources */,
679677
);

0 commit comments

Comments
 (0)