fix(rn,lobby) make sure the enable dialog follows the theme color

pull/8617/head jitsi-meet_5513
Saúl Ibarra Corretgé 4 years ago committed by Saúl Ibarra Corretgé
parent 65c56669c4
commit 6740b0861e
  1. 8
      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>

Loading…
Cancel
Save