Skip to content

Commit

Permalink
feat(conference): revert fix for background app state
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinteodor committed Nov 15, 2024
1 parent aa1c3c0 commit ab45f38
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions react/features/conference/components/native/Conference.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,6 @@ class Conference extends AbstractConference<IProps, State> {
* @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'];
Expand All @@ -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)
Expand Down

0 comments on commit ab45f38

Please sign in to comment.