Potentially fix crash

pull/220/head
nielsandriesse 5 years ago
parent eebecb5248
commit bbc546d244

@ -202,6 +202,7 @@ final class HomeVC : BaseVC, UITableViewDataSource, UITableViewDelegate, UIScrol
uiDatabaseConnection.read { transaction in uiDatabaseConnection.read { transaction in
self.threads.update(with: transaction) self.threads.update(with: transaction)
} }
threadViewModelCache.removeAll()
tableView.reloadData() tableView.reloadData()
emptyStateView.isHidden = (threadCount != 0) emptyStateView.isHidden = (threadCount != 0)
} }

Loading…
Cancel
Save