fix(rn,shared-video,invite-dialog) fix placehoolder text color to be visible
This commit is contained in:
parent
0db2dd0546
commit
f2e2d52cfd
|
@ -30,6 +30,7 @@ import {
|
|||
type Item
|
||||
} from '../../../../base/react';
|
||||
import { connect } from '../../../../base/redux';
|
||||
import { ColorPalette } from '../../../../base/styles';
|
||||
import { beginShareRoom } from '../../../../share-room';
|
||||
import { ADD_PEOPLE_DIALOG_VIEW_ID, INVITE_TYPES } from '../../../constants';
|
||||
import AbstractAddPeopleDialog, {
|
||||
|
@ -197,6 +198,7 @@ class AddPeopleDialog extends AbstractAddPeopleDialog<Props, State> {
|
|||
placeholder = {
|
||||
this.props.t(`inviteDialog.${placeholderKey}`)
|
||||
}
|
||||
placeholderTextColor = { ColorPalette.lightGrey }
|
||||
ref = { this._setFieldRef }
|
||||
style = { styles.searchField }
|
||||
value = { this.state.fieldValue } />
|
||||
|
|
|
@ -4,6 +4,7 @@ import React from 'react';
|
|||
|
||||
import { InputDialog } from '../../../base/dialog';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { ColorPalette } from '../../../base/styles';
|
||||
import { defaultSharedVideoLink } from '../../constants';
|
||||
import AbstractSharedVideoDialog from '../AbstractSharedVideoDialog';
|
||||
|
||||
|
@ -45,7 +46,8 @@ class SharedVideoDialog extends AbstractSharedVideoDialog<*> {
|
|||
contentKey = 'dialog.shareVideoTitle'
|
||||
onSubmit = { this._onSubmitValue }
|
||||
textInputProps = {{
|
||||
placeholder: defaultSharedVideoLink
|
||||
placeholder: defaultSharedVideoLink,
|
||||
placeholderTextColor: ColorPalette.lightGrey
|
||||
}} />
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue