From ab45f38c326015a01032d1c02bdc775731a4b624 Mon Sep 17 00:00:00 2001 From: Calin-Teodor Date: Fri, 15 Nov 2024 13:33:01 +0200 Subject: [PATCH] feat(conference): revert fix for background app state --- react/features/conference/components/native/Conference.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/react/features/conference/components/native/Conference.tsx b/react/features/conference/components/native/Conference.tsx index fc2a4a553efd..628a4eb3cdab 100644 --- a/react/features/conference/components/native/Conference.tsx +++ b/react/features/conference/components/native/Conference.tsx @@ -559,7 +559,6 @@ class Conference extends AbstractConference { * @returns {IProps} */ function _mapStateToProps(state: IReduxState, _ownProps: any) { - const { appState } = state['features/mobile/background']; const { isOpen } = state['features/participants-pane']; const { aspectRatio, reducedUI } = state['features/base/responsive-ui']; const { backgroundColor } = state['features/dynamic-branding']; @@ -581,11 +580,7 @@ function _mapStateToProps(state: IReduxState, _ownProps: any) { _isParticipantsPaneOpen: isOpen, _largeVideoParticipantId: state['features/large-video'].participantId, _pictureInPictureEnabled: isPipEnabled(state), - - // [iOS] - Transitioning between foreground & background, appState goes from active -> inactive -> background - // and during periods of inactivity such as entering the multitasking view, - // opening the Notification Center or in the event of an incoming call. - _reducedUI: reducedUI || appState !== 'active', + _reducedUI: reducedUI, _showLobby: getIsLobbyVisible(state), _startCarMode: startCarMode, _toolboxVisible: isToolboxVisible(state)