|
@@ -7,12 +7,18 @@ import { ColorSchemeRegistry } from '../../../base/color-scheme';
|
7
|
7
|
import { CustomSubmitDialog } from '../../../base/dialog';
|
8
|
8
|
import { translate } from '../../../base/i18n';
|
9
|
9
|
import { connect } from '../../../base/redux';
|
|
10
|
+import { StyleType } from '../../../base/styles';
|
10
|
11
|
import { toggleLobbyMode } from '../../actions';
|
11
|
12
|
|
12
|
13
|
import styles from './styles';
|
13
|
14
|
|
14
|
15
|
type Props = {
|
15
|
16
|
|
|
17
|
+ /**
|
|
18
|
+ * The color-schemed stylesheet of the feature.
|
|
19
|
+ */
|
|
20
|
+ _dialogStyles: StyleType,
|
|
21
|
+
|
16
|
22
|
/**
|
17
|
23
|
* The Redux Dispatch function.
|
18
|
24
|
*/
|
|
@@ -51,7 +57,7 @@ class EnableLobbyModeDialog extends PureComponent<Props> {
|
51
|
57
|
onSubmit = { this._onEnableLobbyMode }
|
52
|
58
|
titleKey = 'lobby.dialogTitle'>
|
53
|
59
|
<View style = { styles.formWrapper }>
|
54
|
|
- <Text>
|
|
60
|
+ <Text style = { this.props._dialogStyles.text } >
|
55
|
61
|
{ this.props.t('lobby.enableDialogText') }
|
56
|
62
|
</Text>
|
57
|
63
|
</View>
|