Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(conference/native): video quality label ui updates

Calin-Teodor0cb95f1dd6e5
diff --git a/react/features/filmstrip/components/native/styles.js b/react/features/filmstrip/components/native/styles.js
index 61f975ad7a..52bc6fb775 100644
--- a/react/features/filmstrip/components/native/styles.js
+++ b/react/features/filmstrip/components/native/styles.js
@@ -9,8 +9,10 @@ export const AVATAR_SIZE = 50;
const indicatorContainer = {
backgroundColor: 'rgba(0, 0, 0, 0.7)',
borderRadius: BaseTheme.shape.borderRadius,
+ height: 32,
margin: 2,
- padding: 2
+ padding: 2,
+ width: 32
};
/**
@@ -120,12 +122,10 @@ export default {
indicatorContainer: {
...indicatorContainer,
flexShrink: 1,
- height: 32,
justifyContent: 'center',
marginBottom: BaseTheme.spacing[0],
marginHorizontal: BaseTheme.spacing[1],
- marginTop: 6,
- width: 32
+ marginTop: BaseTheme.spacing[2]
},
/**
diff --git a/react/features/video-quality/components/styles.js b/react/features/video-quality/components/styles.js
index 4c1fb453e2..dbef4f5609 100644
--- a/react/features/video-quality/components/styles.js
+++ b/react/features/video-quality/components/styles.js
@@ -1,6 +1,5 @@
-// @flow
-
import { ColorPalette, createStyleSheet } from '../../base/styles';
+import BaseTheme from '../../base/ui/components/BaseTheme.native';
export const AUD_LABEL_COLOR = ColorPalette.green;
@@ -13,6 +12,8 @@ export default createStyleSheet({
* Style for the audio-only indicator.
*/
indicatorAudioOnly: {
- backgroundColor: AUD_LABEL_COLOR
+ backgroundColor: AUD_LABEL_COLOR,
+ borderRadius: BaseTheme.shape.borderRadius,
+ height: 32
}
});