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
|
type Item
|
||||||
} from '../../../../base/react';
|
} from '../../../../base/react';
|
||||||
import { connect } from '../../../../base/redux';
|
import { connect } from '../../../../base/redux';
|
||||||
|
import { ColorPalette } from '../../../../base/styles';
|
||||||
import { beginShareRoom } from '../../../../share-room';
|
import { beginShareRoom } from '../../../../share-room';
|
||||||
import { ADD_PEOPLE_DIALOG_VIEW_ID, INVITE_TYPES } from '../../../constants';
|
import { ADD_PEOPLE_DIALOG_VIEW_ID, INVITE_TYPES } from '../../../constants';
|
||||||
import AbstractAddPeopleDialog, {
|
import AbstractAddPeopleDialog, {
|
||||||
|
@ -197,6 +198,7 @@ class AddPeopleDialog extends AbstractAddPeopleDialog<Props, State> {
|
||||||
placeholder = {
|
placeholder = {
|
||||||
this.props.t(`inviteDialog.${placeholderKey}`)
|
this.props.t(`inviteDialog.${placeholderKey}`)
|
||||||
}
|
}
|
||||||
|
placeholderTextColor = { ColorPalette.lightGrey }
|
||||||
ref = { this._setFieldRef }
|
ref = { this._setFieldRef }
|
||||||
style = { styles.searchField }
|
style = { styles.searchField }
|
||||||
value = { this.state.fieldValue } />
|
value = { this.state.fieldValue } />
|
||||||
|
|
|
@ -4,6 +4,7 @@ import React from 'react';
|
||||||
|
|
||||||
import { InputDialog } from '../../../base/dialog';
|
import { InputDialog } from '../../../base/dialog';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
|
import { ColorPalette } from '../../../base/styles';
|
||||||
import { defaultSharedVideoLink } from '../../constants';
|
import { defaultSharedVideoLink } from '../../constants';
|
||||||
import AbstractSharedVideoDialog from '../AbstractSharedVideoDialog';
|
import AbstractSharedVideoDialog from '../AbstractSharedVideoDialog';
|
||||||
|
|
||||||
|
@ -45,7 +46,8 @@ class SharedVideoDialog extends AbstractSharedVideoDialog<*> {
|
||||||
contentKey = 'dialog.shareVideoTitle'
|
contentKey = 'dialog.shareVideoTitle'
|
||||||
onSubmit = { this._onSubmitValue }
|
onSubmit = { this._onSubmitValue }
|
||||||
textInputProps = {{
|
textInputProps = {{
|
||||||
placeholder: defaultSharedVideoLink
|
placeholder: defaultSharedVideoLink,
|
||||||
|
placeholderTextColor: ColorPalette.lightGrey
|
||||||
}} />
|
}} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue