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

This commit is contained in:
Saúl Ibarra Corretgé 2021-09-10 12:02:43 +02:00 committed by Saúl Ibarra Corretgé
parent 0db2dd0546
commit f2e2d52cfd
2 changed files with 5 additions and 1 deletions

View File

@ -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 } />

View File

@ -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
}} />
);
}