mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Group calling: add speaker view
This commit is contained in:
committed by
Scott Nonnenberg
parent
fbfcdbf84e
commit
b281420a40
@@ -44,6 +44,7 @@ const conversation = {
|
||||
interface OverridePropsBase {
|
||||
hasLocalAudio?: boolean;
|
||||
hasLocalVideo?: boolean;
|
||||
isInSpeakerView?: boolean;
|
||||
}
|
||||
|
||||
interface DirectCallOverrideProps extends OverridePropsBase {
|
||||
@@ -113,6 +114,10 @@ const createActiveCallProp = (
|
||||
'hasLocalVideo',
|
||||
overrideProps.hasLocalVideo || false
|
||||
),
|
||||
isInSpeakerView: boolean(
|
||||
'isInSpeakerView',
|
||||
overrideProps.isInSpeakerView || false
|
||||
),
|
||||
pip: false,
|
||||
settingsDialogOpen: false,
|
||||
showParticipantsList: false,
|
||||
@@ -152,6 +157,7 @@ const createProps = (
|
||||
toggleParticipants: action('toggle-participants'),
|
||||
togglePip: action('toggle-pip'),
|
||||
toggleSettings: action('toggle-settings'),
|
||||
toggleSpeakerView: action('toggle-speaker-view'),
|
||||
});
|
||||
|
||||
const story = storiesOf('Components/CallScreen', module);
|
||||
|
||||
Reference in New Issue
Block a user