[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 GitHub
parent d208373b3a
commit 9525ef25d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();
}
}