Hide rebuildBackingStores function.

This commit is contained in:
Maurice Parker 2019-04-21 18:21:44 -05:00
parent 5f653c7ba1
commit 05f8dc38c4
1 changed files with 8 additions and 8 deletions

View File

@ -194,14 +194,6 @@ class NavigationStateController {
return shadowTable[section].count
}
func rebuildBackingStores() {
if !animatingChanges && !BatchUpdate.shared.isPerforming {
treeController.rebuild()
rebuildShadowTable()
NotificationCenter.default.post(name: .BackingStoresDidRebuild, object: self, userInfo: nil)
}
}
func rebuildShadowTable() {
for i in 0..<treeController.rootNode.numberOfChildNodes {
@ -373,6 +365,14 @@ class NavigationStateController {
private extension NavigationStateController {
func rebuildBackingStores() {
if !animatingChanges && !BatchUpdate.shared.isPerforming {
treeController.rebuild()
rebuildShadowTable()
NotificationCenter.default.post(name: .BackingStoresDidRebuild, object: self, userInfo: nil)
}
}
// MARK: Fetching Articles
func fetchArticles() {