[FIX] Modal freezing app after return from the background (#4795)
This commit is contained in:
parent
1b2f7578e7
commit
79ae2a55a8
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue