Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Saúl Ibarra Corretgéf2e2d52cfd55
diff --git a/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js b/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
index c03313d071..5d7f1f4cdc 100644
--- a/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
+++ b/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
@@ -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 } />
diff --git a/react/features/shared-video/components/native/SharedVideoDialog.js b/react/features/shared-video/components/native/SharedVideoDialog.js
index ae21c48465..1fdf3ae206 100644
--- a/react/features/shared-video/components/native/SharedVideoDialog.js
+++ b/react/features/shared-video/components/native/SharedVideoDialog.js
@@ -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
}} />
);
}