瀏覽代碼

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

j8
Saúl Ibarra Corretgé 4 年之前
父節點
當前提交
6740b0861e
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      react/features/lobby/components/native/EnableLobbyModeDialog.js

+ 7
- 1
react/features/lobby/components/native/EnableLobbyModeDialog.js 查看文件

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

Loading…
取消
儲存