Skip to content

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

rn,settings: set the placeholder text color

Saúl Ibarra Corretgée543625295a5
diff --git a/react/features/settings/components/native/FormRow.js b/react/features/settings/components/native/FormRow.js
index 395a44d09e..96957bd217 100644
--- a/react/features/settings/components/native/FormRow.js
+++ b/react/features/settings/components/native/FormRow.js
@@ -5,7 +5,7 @@ import { Text, View } from 'react-native';
import { translate } from '../../../base/i18n';
-import styles, { ANDROID_UNDERLINE_COLOR } from './styles';
+import styles, { ANDROID_UNDERLINE_COLOR, PLACEHOLDER_COLOR } from './styles';
/**
* The type of the React {@code Component} props of {@link FormRow}
@@ -107,6 +107,7 @@ class FormRow extends Component<Props> {
switch (field.type.displayName) {
case 'TextInput':
return {
+ placeholderTextColor: PLACEHOLDER_COLOR,
style: styles.textInputField,
underlineColorAndroid: ANDROID_UNDERLINE_COLOR
};
diff --git a/react/features/settings/components/native/styles.js b/react/features/settings/components/native/styles.js
index c472126d97..34ba218bc5 100644
--- a/react/features/settings/components/native/styles.js
+++ b/react/features/settings/components/native/styles.js
@@ -4,6 +4,8 @@ import {
} from '../../../base/styles';
export const ANDROID_UNDERLINE_COLOR = 'transparent';
+export const PLACEHOLDER_COLOR = ColorPalette.lightGrey;
+
const TEXT_SIZE = 17;
/**