[FIX] Modal freezing app after return from the background (#4795)
This commit is contained in:
parent
d208373b3a
commit
9525ef25d8
|
@ -388,7 +388,7 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
|
||||||
|
|
||||||
if (appState === 'foreground' && appState !== prevProps.appState && this.rid) {
|
if (appState === 'foreground' && appState !== prevProps.appState && this.rid) {
|
||||||
// Fire List.query() just to keep observables working
|
// 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();
|
this.list.current?.query();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue