Skip to content

Commit 471aa10

Browse files
committed
Renamed method configureRows
1 parent e27bddb commit 471aa10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Filters/Date Range Filter/Custom Range Filter/DateRangeFilterViewController.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ final class DateRangeFilterViewController: UIViewController {
4141
super.viewDidLoad()
4242
configureNavigationBar()
4343
configureMainView()
44-
configureRows()
44+
updateRows()
4545
configureTableView()
4646
}
4747
}
@@ -72,7 +72,7 @@ private extension DateRangeFilterViewController {
7272
tableView.removeLastCellSeparator()
7373
}
7474

75-
func configureRows() {
75+
func updateRows() {
7676
var tempRows: [Row] = [.startDateTitle]
7777
if startDateExpanded {
7878
tempRows.append(.startDatePicker)
@@ -110,11 +110,11 @@ extension DateRangeFilterViewController: UITableViewDelegate {
110110
switch rows[indexPath.row] {
111111
case .startDateTitle:
112112
startDateExpanded = !startDateExpanded
113-
configureRows()
113+
updateRows()
114114
tableView.reloadData()
115115
case .endDateTitle:
116116
endDateExpanded = !endDateExpanded
117-
configureRows()
117+
updateRows()
118118
tableView.reloadData()
119119
default:
120120
return

0 commit comments

Comments
 (0)