From 9525ef25d8e425f91861eea90a1cbecc716f8ec7 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Mon, 9 Jan 2023 15:32:16 -0300 Subject: [PATCH] [FIX] Modal freezing app after return from the background (#4795) --- app/views/RoomView/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/RoomView/index.tsx b/app/views/RoomView/index.tsx index 107491306..ca8e7980d 100644 --- a/app/views/RoomView/index.tsx +++ b/app/views/RoomView/index.tsx @@ -388,7 +388,7 @@ class RoomView extends React.Component { if (appState === 'foreground' && appState !== prevProps.appState && this.rid) { // Fire List.query() just to keep observables working - if (this.list && this.list.current) { + if (this.list && this.list.current && !isIOS) { this.list.current?.query(); } }