From bbc546d2449cc36b16a1a6e0ef17f9464f0e0b1b Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Mon, 22 Jun 2020 13:47:28 +1000 Subject: [PATCH] Potentially fix crash --- Signal/src/Loki/View Controllers/HomeVC.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Signal/src/Loki/View Controllers/HomeVC.swift b/Signal/src/Loki/View Controllers/HomeVC.swift index 19af65f6a..4b205154e 100644 --- a/Signal/src/Loki/View Controllers/HomeVC.swift +++ b/Signal/src/Loki/View Controllers/HomeVC.swift @@ -202,6 +202,7 @@ final class HomeVC : BaseVC, UITableViewDataSource, UITableViewDelegate, UIScrol uiDatabaseConnection.read { transaction in self.threads.update(with: transaction) } + threadViewModelCache.removeAll() tableView.reloadData() emptyStateView.isHidden = (threadCount != 0) }