fix(rn,lobby) make sure the enable dialog follows the theme color
This commit is contained in:
parent
65c56669c4
commit
6740b0861e
|
@ -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…
Reference in New Issue