mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Minor: use enums instead of numbers in <CallScreen> stories
This commit is contained in:
committed by
Scott Nonnenberg
parent
b2087cb8a2
commit
d9e027a417
@@ -10,6 +10,8 @@ import { action } from '@storybook/addon-actions';
|
|||||||
import {
|
import {
|
||||||
CallMode,
|
CallMode,
|
||||||
CallState,
|
CallState,
|
||||||
|
GroupCallConnectionState,
|
||||||
|
GroupCallJoinState,
|
||||||
GroupCallRemoteParticipantType,
|
GroupCallRemoteParticipantType,
|
||||||
} from '../types/Calling';
|
} from '../types/Calling';
|
||||||
import { Colors } from '../types/Colors';
|
import { Colors } from '../types/Colors';
|
||||||
@@ -27,8 +29,8 @@ function getGroupCallState(): GroupCallStateType {
|
|||||||
return {
|
return {
|
||||||
callMode: CallMode.Group,
|
callMode: CallMode.Group,
|
||||||
conversationId: '3051234567',
|
conversationId: '3051234567',
|
||||||
connectionState: 2,
|
connectionState: GroupCallConnectionState.Connected,
|
||||||
joinState: 2,
|
joinState: GroupCallJoinState.Joined,
|
||||||
peekInfo: {
|
peekInfo: {
|
||||||
conversationIds: [],
|
conversationIds: [],
|
||||||
maxDevices: 16,
|
maxDevices: 16,
|
||||||
|
|||||||
Reference in New Issue
Block a user