From c8dbe824d0c8514898dd2836a216f6c2cd7af5c8 Mon Sep 17 00:00:00 2001 From: yash-rajpal Date: Tue, 12 Jan 2021 15:04:51 +0530 Subject: [PATCH 1/5] Changing auxilaryTintColor --- app/constants/colors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/constants/colors.js b/app/constants/colors.js index 6a2e33f389..9f756df259 100644 --- a/app/constants/colors.js +++ b/app/constants/colors.js @@ -82,7 +82,7 @@ export const themes = { auxiliaryText: '#9297a2', infoText: '#6D6D72', tintColor: '#1d74f5', - auxiliaryTintColor: '#f9f9f9', + auxiliaryTintColor: '#9297a2', actionTintColor: '#1d74f5', separatorColor: '#2b2b2d', navbarBackground: '#0b182c', From 145d8d9a82497638d66755f096a1672670441491 Mon Sep 17 00:00:00 2001 From: yash-rajpal Date: Thu, 14 Jan 2021 00:41:49 +0530 Subject: [PATCH 2/5] Changed Placeholder color to BodyText color --- app/constants/colors.js | 2 +- app/containers/MessageBox/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/constants/colors.js b/app/constants/colors.js index 9f756df259..6a2e33f389 100644 --- a/app/constants/colors.js +++ b/app/constants/colors.js @@ -82,7 +82,7 @@ export const themes = { auxiliaryText: '#9297a2', infoText: '#6D6D72', tintColor: '#1d74f5', - auxiliaryTintColor: '#9297a2', + auxiliaryTintColor: '#f9f9f9', actionTintColor: '#1d74f5', separatorColor: '#2b2b2d', navbarBackground: '#0b182c', diff --git a/app/containers/MessageBox/index.js b/app/containers/MessageBox/index.js index a54705664d..2c4276d78c 100644 --- a/app/containers/MessageBox/index.js +++ b/app/containers/MessageBox/index.js @@ -932,7 +932,7 @@ class MessageBox extends Component { keyboardType='twitter' blurOnSubmit={false} placeholder={I18n.t('New_Message')} - placeholderTextColor={themes[theme].auxiliaryTintColor} + placeholderTextColor={themes[theme].bodyText} onChangeText={this.onChangeText} onSelectionChange={this.onSelectionChange} underlineColorAndroid='transparent' From 14d154db105d55ddfd5c540a288cc3804524202f Mon Sep 17 00:00:00 2001 From: yash-rajpal Date: Thu, 14 Jan 2021 02:08:18 +0530 Subject: [PATCH 3/5] added color prop --- app/containers/MessageBox/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/containers/MessageBox/index.js b/app/containers/MessageBox/index.js index 2c4276d78c..2b8130c113 100644 --- a/app/containers/MessageBox/index.js +++ b/app/containers/MessageBox/index.js @@ -927,12 +927,12 @@ class MessageBox extends Component { /> this.component = component} - style={styles.textBoxInput} + style={{...styles.textBoxInput, color: themes[theme].bodyText}} returnKeyType='default' keyboardType='twitter' blurOnSubmit={false} placeholder={I18n.t('New_Message')} - placeholderTextColor={themes[theme].bodyText} + placeholderTextColor={themes[theme].auxiliaryTintColor} onChangeText={this.onChangeText} onSelectionChange={this.onSelectionChange} underlineColorAndroid='transparent' From 50c442f3a41170254246ef11be74f4873b3a1790 Mon Sep 17 00:00:00 2001 From: yash-rajpal Date: Thu, 14 Jan 2021 02:11:16 +0530 Subject: [PATCH 4/5] eslint changes --- app/containers/MessageBox/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/containers/MessageBox/index.js b/app/containers/MessageBox/index.js index 2b8130c113..b43c05ee3d 100644 --- a/app/containers/MessageBox/index.js +++ b/app/containers/MessageBox/index.js @@ -927,7 +927,7 @@ class MessageBox extends Component { /> this.component = component} - style={{...styles.textBoxInput, color: themes[theme].bodyText}} + style={{ ...styles.textBoxInput, color: themes[theme].bodyText }} returnKeyType='default' keyboardType='twitter' blurOnSubmit={false} From bf2c46639d7d8a98f20187b8babe981f1180ea80 Mon Sep 17 00:00:00 2001 From: yash-rajpal Date: Wed, 20 Jan 2021 00:19:34 +0530 Subject: [PATCH 5/5] used array for styles --- app/containers/MessageBox/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/containers/MessageBox/index.js b/app/containers/MessageBox/index.js index b43c05ee3d..34921efa31 100644 --- a/app/containers/MessageBox/index.js +++ b/app/containers/MessageBox/index.js @@ -927,7 +927,7 @@ class MessageBox extends Component { /> this.component = component} - style={{ ...styles.textBoxInput, color: themes[theme].bodyText }} + style={[styles.textBoxInput, { color: themes[theme].bodyText }]} returnKeyType='default' keyboardType='twitter' blurOnSubmit={false}