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
[RN] Improve video switch style and remove react warning
Bettenbuk Zoltandf7b8e51fc66
diff --git a/react/features/welcome/components/VideoSwitch.js b/react/features/welcome/components/VideoSwitch.jsindex a895854e68..0fe95c7a18 100644--- a/react/features/welcome/components/VideoSwitch.js+++ b/react/features/welcome/components/VideoSwitch.js@@ -62,9 +62,11 @@ class VideoSwitch extends Component<Props> {<View style = { styles.audioVideoSwitchContainer }><TouchableWithoutFeedbackonPress = { this._onStartAudioOnlyFalse }>- <Text style = { textStyle }>- { t('welcomepage.audioVideoSwitch.video') }- </Text>+ <View style = { styles.switchLabel }>+ <Text style = { textStyle }>+ { t('welcomepage.audioVideoSwitch.video') }+ </Text>+ </View></TouchableWithoutFeedback><SwitchonTintColor = { SWITCH_UNDER_COLOR }@@ -74,9 +76,11 @@ class VideoSwitch extends Component<Props> {value = { _settings.startAudioOnly } /><TouchableWithoutFeedbackonPress = { this._onStartAudioOnlyTrue }>- <Text style = { textStyle }>- { t('welcomepage.audioVideoSwitch.audio') }- </Text>+ <View style = { styles.switchLabel }>+ <Text style = { textStyle }>+ { t('welcomepage.audioVideoSwitch.audio') }+ </Text>+ </View></TouchableWithoutFeedback></View>);diff --git a/react/features/welcome/components/styles.js b/react/features/welcome/components/styles.jsindex b952b85407..44c4c565b3 100644--- a/react/features/welcome/components/styles.js+++ b/react/features/welcome/components/styles.js@@ -34,6 +34,7 @@ export default createStyleSheet({* View that contains the audio-video switch and the labels.*/audioVideoSwitchContainer: {+ alignItems: 'center',flexDirection: 'row'},@@ -222,6 +223,13 @@ export default createStyleSheet({fontWeight: 'bold'},+ /**+ * The container of the label of the audio-video switch.+ */+ switchLabel: {+ paddingHorizontal: 3+ },+/*** Room input style.*/