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(rn,lobby) make sure the enable dialog follows the theme color

Saúl Ibarra Corretgé6740b0861e66
diff --git a/react/features/lobby/components/native/EnableLobbyModeDialog.js b/react/features/lobby/components/native/EnableLobbyModeDialog.js
index 018f23e149..e087cb0db7 100644
--- a/react/features/lobby/components/native/EnableLobbyModeDialog.js
+++ b/react/features/lobby/components/native/EnableLobbyModeDialog.js
@@ -7,12 +7,18 @@ import { ColorSchemeRegistry } from '../../../base/color-scheme';
import { CustomSubmitDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
+import { StyleType } from '../../../base/styles';
import { toggleLobbyMode } from '../../actions';
import styles from './styles';
type Props = {
+ /**
+ * The color-schemed stylesheet of the feature.
+ */
+ _dialogStyles: StyleType,
+
/**
* The Redux Dispatch function.
*/
@@ -51,7 +57,7 @@ class EnableLobbyModeDialog extends PureComponent<Props> {
onSubmit = { this._onEnableLobbyMode }
titleKey = 'lobby.dialogTitle'>
<View style = { styles.formWrapper }>
- <Text>
+ <Text style = { this.props._dialogStyles.text } >
{ this.props.t('lobby.enableDialogText') }
</Text>
</View>