From 25811672b566dc95d93d5a2a83227669b87bae75 Mon Sep 17 00:00:00 2001 From: Pete Walters Date: Mon, 28 Oct 2024 11:11:32 -0500 Subject: [PATCH] Disable CLV data source updates when not visible. --- .../HomeView/Chat List/ChatListViewController+Loading.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Signal/src/ViewControllers/HomeView/Chat List/ChatListViewController+Loading.swift b/Signal/src/ViewControllers/HomeView/Chat List/ChatListViewController+Loading.swift index def52eecb09..6ea55b3df96 100644 --- a/Signal/src/ViewControllers/HomeView/Chat List/ChatListViewController+Loading.swift +++ b/Signal/src/ViewControllers/HomeView/Chat List/ChatListViewController+Loading.swift @@ -12,9 +12,7 @@ extension ChatListViewController { if newValue != viewState.isViewVisible { viewState.isViewVisible = newValue updateCellVisibility() - if newValue { - shouldBeUpdatingView = true - } + shouldBeUpdatingView = newValue } } }