Minor: use enums instead of numbers in <CallScreen> stories
This commit is contained in:
parent
b2087cb8a2
commit
d9e027a417
1 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,8 @@ import { action } from '@storybook/addon-actions';
|
|||
import {
|
||||
CallMode,
|
||||
CallState,
|
||||
GroupCallConnectionState,
|
||||
GroupCallJoinState,
|
||||
GroupCallRemoteParticipantType,
|
||||
} from '../types/Calling';
|
||||
import { Colors } from '../types/Colors';
|
||||
|
@ -27,8 +29,8 @@ function getGroupCallState(): GroupCallStateType {
|
|||
return {
|
||||
callMode: CallMode.Group,
|
||||
conversationId: '3051234567',
|
||||
connectionState: 2,
|
||||
joinState: 2,
|
||||
connectionState: GroupCallConnectionState.Connected,
|
||||
joinState: GroupCallJoinState.Joined,
|
||||
peekInfo: {
|
||||
conversationIds: [],
|
||||
maxDevices: 16,
|
||||
|
|
Loading…
Add table
Reference in a new issue