Skip to content

Commit 5088e70

Browse files
committed
Remove enforcing emtpy headers to be of zero height
1 parent 54ffe04 commit 5088e70

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

WooCommerce/Classes/ViewRelated/Orders/OrderDetailsViewController.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -804,11 +804,6 @@ extension OrderDetailsViewController: UITableViewDataSource {
804804
}
805805

806806
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
807-
if sections[section].title == nil {
808-
// iOS 11 table bug. Must return a tiny value to collapse `nil` or `empty` section headers.
809-
return .leastNonzeroMagnitude
810-
}
811-
812807
return UITableView.automaticDimension
813808
}
814809

0 commit comments

Comments
 (0)