Skip to content

Commit 62893c8

Browse files
committed
refactor: remove unnecessary method
1 parent 216800b commit 62893c8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

WordPress/Classes/ViewRelated/Blog/Blog Dashboard/Cards/Posts/PostsCardViewController.swift

-6
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ protocol PostsCardViewControllerDelegate: AnyObject {
5151

5252
override func viewWillAppear(_ animated: Bool) {
5353
super.viewWillAppear(animated)
54-
hideSeparatorForGhostCells()
5554
}
5655

5756
override func viewDidAppear(_ animated: Bool) {
@@ -120,11 +119,6 @@ private extension PostsCardViewController {
120119
ghostableTableView?.removeFromSuperview()
121120
}
122121

123-
func hideSeparatorForGhostCells() {
124-
ghostableTableView?.visibleCells
125-
.forEach { ($0 as? PostCompactCell)?.hideSeparator() }
126-
}
127-
128122
func presentEditor() {
129123
let editor = EditPostViewController(blog: blog)
130124
present(editor, animated: true)

0 commit comments

Comments
 (0)