Place calls on top of story viewer, pause stories while in call

This commit is contained in:
Josh Perez 2022-08-04 21:07:46 -04:00 committed by GitHub
parent 190db3580d
commit 726e67ce95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 4 deletions

View file

@ -59,6 +59,12 @@ export const isInCall = createSelector(
(call: CallStateType | undefined): boolean => Boolean(call)
);
export const isInFullScreenCall = createSelector(
getCalling,
(state: CallingStateType): boolean =>
Boolean(state.activeCallState && !state.activeCallState.pip)
);
export const getIncomingCall = createSelector(
getCallsByConversation,
getUserACI,