Selaa lähdekoodia

fix(rn,shared-video,invite-dialog) fix placehoolder text color to be visible

master
Saúl Ibarra Corretgé 3 vuotta sitten
vanhempi
commit
f2e2d52cfd

+ 2
- 0
react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js Näytä tiedosto

30
     type Item
30
     type Item
31
 } from '../../../../base/react';
31
 } from '../../../../base/react';
32
 import { connect } from '../../../../base/redux';
32
 import { connect } from '../../../../base/redux';
33
+import { ColorPalette } from '../../../../base/styles';
33
 import { beginShareRoom } from '../../../../share-room';
34
 import { beginShareRoom } from '../../../../share-room';
34
 import { ADD_PEOPLE_DIALOG_VIEW_ID, INVITE_TYPES } from '../../../constants';
35
 import { ADD_PEOPLE_DIALOG_VIEW_ID, INVITE_TYPES } from '../../../constants';
35
 import AbstractAddPeopleDialog, {
36
 import AbstractAddPeopleDialog, {
197
                         placeholder = {
198
                         placeholder = {
198
                             this.props.t(`inviteDialog.${placeholderKey}`)
199
                             this.props.t(`inviteDialog.${placeholderKey}`)
199
                         }
200
                         }
201
+                        placeholderTextColor = { ColorPalette.lightGrey }
200
                         ref = { this._setFieldRef }
202
                         ref = { this._setFieldRef }
201
                         style = { styles.searchField }
203
                         style = { styles.searchField }
202
                         value = { this.state.fieldValue } />
204
                         value = { this.state.fieldValue } />

+ 3
- 1
react/features/shared-video/components/native/SharedVideoDialog.js Näytä tiedosto

4
 
4
 
5
 import { InputDialog } from '../../../base/dialog';
5
 import { InputDialog } from '../../../base/dialog';
6
 import { connect } from '../../../base/redux';
6
 import { connect } from '../../../base/redux';
7
+import { ColorPalette } from '../../../base/styles';
7
 import { defaultSharedVideoLink } from '../../constants';
8
 import { defaultSharedVideoLink } from '../../constants';
8
 import AbstractSharedVideoDialog from '../AbstractSharedVideoDialog';
9
 import AbstractSharedVideoDialog from '../AbstractSharedVideoDialog';
9
 
10
 
45
                 contentKey = 'dialog.shareVideoTitle'
46
                 contentKey = 'dialog.shareVideoTitle'
46
                 onSubmit = { this._onSubmitValue }
47
                 onSubmit = { this._onSubmitValue }
47
                 textInputProps = {{
48
                 textInputProps = {{
48
-                    placeholder: defaultSharedVideoLink
49
+                    placeholder: defaultSharedVideoLink,
50
+                    placeholderTextColor: ColorPalette.lightGrey
49
                 }} />
51
                 }} />
50
         );
52
         );
51
     }
53
     }

Loading…
Peruuta
Tallenna