Browse Source

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

master
Saúl Ibarra Corretgé 3 years ago
parent
commit
f2e2d52cfd

+ 2
- 0
react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js View File

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

+ 3
- 1
react/features/shared-video/components/native/SharedVideoDialog.js View File

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

Loading…
Cancel
Save