Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(mobile) clamp computed avatar sizes to positive values
Joe Landryd6d0209decc0
diff --git a/react/features/base/avatar/components/native/styles.ts b/react/features/base/avatar/components/native/styles.tsindex 76d3ecc134..fd6d7591de 100644--- a/react/features/base/avatar/components/native/styles.ts+++ b/react/features/base/avatar/components/native/styles.ts@@ -70,7 +70,7 @@ export default {initialsText: (size: number = DEFAULT_SIZE) => {return {color: 'white',- fontSize: size * 0.45,+ fontSize: Math.max(size * 0.45, 1),fontWeight: '100'};},diff --git a/react/features/large-video/components/LargeVideo.native.tsx b/react/features/large-video/components/LargeVideo.native.tsxindex 80f9e10bed..4b3a48ef40 100644--- a/react/features/large-video/components/LargeVideo.native.tsx+++ b/react/features/large-video/components/LargeVideo.native.tsx@@ -108,7 +108,7 @@ class LargeVideo extends PureComponent<IProps, IState> {if (size < AVATAR_SIZE * 1.5) {return {- avatarSize: size - 15, // Leave some margin.+ avatarSize: Math.max(size - 15, 0), // Leave some margin.useConnectivityInfoLabel: false};}