@@ -60,7 +60,7 @@ class OriginalTable {
6060
6161 func vissibleOriginalRowWithIndexPath( _ indexPath: IndexPath ) -> OriginalRow {
6262 let section = sections [ indexPath. section]
63- let visibleRows = section. rows. filter { !$0. hiddenPlanned }
63+ let visibleRows = section. rows. filter { !$0. hiding }
6464
6565 return visibleRows [ indexPath. row]
6666 }
@@ -76,7 +76,7 @@ class OriginalTable {
7676 var indexRow = originalRow. originalIndexPath. row
7777
7878 let section = sections [ indexSection]
79- indexRow = section. rows [ 0 ..< indexRow] . filter { !$0. hiddenPlanned } . count
79+ indexRow = section. rows [ 0 ..< indexRow] . filter { !$0. hiding } . count
8080
8181 return IndexPath ( row: indexRow, section: indexSection)
8282 }
@@ -86,7 +86,7 @@ class OriginalTable {
8686 var indexRow = originalRow. originalIndexPath. row
8787
8888 let section = sections [ indexSection]
89- indexRow = section. rows [ 0 ..< indexRow] . filter { !$0. hiddenReal } . count
89+ indexRow = section. rows [ 0 ..< indexRow] . filter { !$0. hidden } . count
9090
9191 return IndexPath ( row: indexRow, section: indexSection)
9292 }
@@ -112,7 +112,7 @@ class OriginalTable {
112112 }
113113
114114 allRows. forEach { ( row) in
115- row. hiddenReal = row. hiddenPlanned
115+ row. hidden = row. hiding
116116 row. batchOperation = BatchOperation . none
117117 }
118118 }
0 commit comments