File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
WooCommerce/Classes/ViewRelated/Orders/OrderDetails Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,12 @@ extension OrderDetailsViewController: UITableViewDataSource {
121121 return nil
122122 }
123123
124- guard let header = tableView. dequeueReusableHeaderFooterView ( withIdentifier: TwoColumnSectionHeaderView . reuseIdentifier) as? TwoColumnSectionHeaderView else {
124+ guard let cell = tableView. dequeueReusableHeaderFooterView ( withIdentifier: TwoColumnSectionHeaderView . reuseIdentifier) as? TwoColumnSectionHeaderView else {
125125 fatalError ( )
126126 }
127+ cell. configure ( leftText: leftText, rightText: sections [ section] . rightTitle)
127128
128- header. configure ( leftText: leftText, rightText: sections [ section] . rightTitle)
129-
130- return header
129+ return cell
131130 }
132131
133132 func tableView( _ tableView: UITableView , heightForFooterInSection section: Int ) -> CGFloat {
@@ -153,6 +152,7 @@ extension OrderDetailsViewController: UITableViewDataSource {
153152 let sections = IndexSet ( integer: section)
154153 tableView. reloadSections ( sections, with: . fade)
155154 }
155+
156156 return cell
157157 }
158158}
You can’t perform that action at this time.
0 commit comments