[FIX] Modal freezing app after return from the background (#4795)

This commit is contained in:
Reinaldo Neto 2023-01-09 15:32:16 -03:00 committed by Diego Mello
parent 1b2f7578e7
commit 79ae2a55a8
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
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();
}
}