diff --git a/app/client/mobile/src/calling/Calling.styled.ts b/app/client/mobile/src/calling/Calling.styled.ts index f730d1ac..74bae63e 100644 --- a/app/client/mobile/src/calling/Calling.styled.ts +++ b/app/client/mobile/src/calling/Calling.styled.ts @@ -53,6 +53,13 @@ export const styles = StyleSheet.create({ height: '100%', borderRadius: 8, }, + canvas: { + position: 'absolute', + top: 0, + left: 0, + width: '100%', + height: '100%', + }, frame: { display: 'flex', alignItems: 'center', @@ -95,7 +102,6 @@ export const styles = StyleSheet.create({ height: '20%', }, full: { - position: 'absolute', width: '100%', height: '100%', }, diff --git a/app/client/mobile/src/calling/Calling.tsx b/app/client/mobile/src/calling/Calling.tsx index 557e93e2..1ceb795b 100644 --- a/app/client/mobile/src/calling/Calling.tsx +++ b/app/client/mobile/src/calling/Calling.tsx @@ -197,7 +197,7 @@ export function Calling({ callCard }: { callCard: string }) { )} { state.calling && ( - + 400 ? 400 : frameWidth, height: frameHeight > 400 ? 400 : frameHeight }}> )} { state.calling && state.loaded && state.remote && ( + + )} { state.calling && state.loaded && state.local && !state.remote && ( + + )} { state.calling && state.loaded && state.local && state.remote && (