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(android) remove no longer needed view clipping hack
Saúl Ibarra Corretgécdc4154cdfe3
diff --git a/react/features/base/styles/functions.any.ts b/react/features/base/styles/functions.any.tsindex 06207ab505..87d4c1bda9 100644--- a/react/features/base/styles/functions.any.ts+++ b/react/features/base/styles/functions.any.ts@@ -1,7 +1,3 @@-import Platform from '../react/Platform';--import { ColorPalette } from './components/styles/ColorPalette';-declare type StyleSheet = {[key: string]: string | number | { [key: string]: string | number; };};@@ -121,28 +117,6 @@ export function createStyleSheet(return combinedStyles;}-/**- * Works around a bug in react-native or react-native-webrtc on Android which- * causes Views overlaying RTCView to be clipped. Even though we (may) display- * multiple RTCViews, it is enough to apply the fix only to a View with a- * bounding rectangle containing all RTCviews and their overlaying Views.- *- * @param {StyleSheet} styles - An object which represents a stylesheet.- * @public- * @returns {StyleSheet}- */-export function fixAndroidViewClipping<T extends StyleSheet>(styles: T): T {- if (Platform.OS === 'android') {- // @ts-ignore- styles.borderColor = ColorPalette.appBackground;-- // @ts-ignore- styles.borderWidth = 1;- }-- return styles;-}-/*** Returns an rgba format of the provided color if it's in hex or rgb format.*diff --git a/react/features/conference/components/native/styles.ts b/react/features/conference/components/native/styles.tsindex 18bdbf1c7a..f600467c95 100644--- a/react/features/conference/components/native/styles.ts+++ b/react/features/conference/components/native/styles.ts@@ -1,4 +1,3 @@-import { fixAndroidViewClipping } from '../../../base/styles/functions.native';import BaseTheme from '../../../base/ui/components/BaseTheme.native';export const INSECURE_ROOM_NAME_LABEL_COLOR = BaseTheme.palette.actionDanger;@@ -38,11 +37,11 @@ export default {/*** {@code Conference} Style.*/- conference: fixAndroidViewClipping({+ conference: {alignSelf: 'stretch',backgroundColor: BaseTheme.palette.uiBackground,flex: 1- }),+ },displayNameContainer: {margin: 10