Share call link via signal while in call

This commit is contained in:
ayumi-signal 2024-06-12 13:40:06 -07:00 committed by GitHub
parent e6b62001d3
commit 111bb70188
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 56 additions and 2 deletions

View file

@ -55,6 +55,7 @@ import { SmartCallingDeviceSelection } from './CallingDeviceSelection';
import { renderEmojiPicker } from './renderEmojiPicker';
import { renderReactionPicker } from './renderReactionPicker';
import { isSharingPhoneNumberWithEverybody as getIsSharingPhoneNumberWithEverybody } from '../../util/phoneNumberSharingMode';
import { useGlobalModalActions } from '../ducks/globalModals';
function renderDeviceSelection(): JSX.Element {
return <SmartCallingDeviceSelection />;
@ -454,6 +455,7 @@ export const SmartCallManager = memo(function SmartCallManager() {
toggleSettings,
} = useCallingActions();
const { pauseVoiceNotePlayer } = useAudioPlayerActions();
const { showShareCallLinkViaSignal } = useGlobalModalActions();
return (
<CallManager
@ -499,6 +501,7 @@ export const SmartCallManager = memo(function SmartCallManager() {
setOutgoingRing={setOutgoingRing}
setPresenting={setPresenting}
setRendererCanvas={setRendererCanvas}
showShareCallLinkViaSignal={showShareCallLinkViaSignal}
startCall={startCall}
stopRingtone={stopRingtone}
switchFromPresentationView={switchFromPresentationView}