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 {
|
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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue