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

This commit is contained in:
Calin-Teodor 2022-11-18 12:52:11 +02:00 committed by Saúl Ibarra Corretgé
parent 5cde9a138b
commit 0cb95f1dd6
2 changed files with 8 additions and 7 deletions

View File

@ -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]
},
/**

View File

@ -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
}
});