diff --git a/ts/state/selectors/calling.ts b/ts/state/selectors/calling.ts index ccdb6b465e..cd4e36153a 100644 --- a/ts/state/selectors/calling.ts +++ b/ts/state/selectors/calling.ts @@ -149,7 +149,7 @@ export const isInCall = createSelector( export const isInFullScreenCall = createSelector( getActiveCallState, (activeCallState: undefined | ActiveCallStateType): boolean => - Boolean(activeCallState?.pip) + Boolean(activeCallState && !activeCallState.pip) ); export const getIncomingCall = createSelector(