Skip to content

Commit

Permalink
refactor: specify color for icons (#206)
Browse files Browse the repository at this point in the history
## 馃摐 Description

Specified the same style for emojis to keep style consistency.

## 馃挕 Motivation and Context

Right now emoji have different contrast (comparing to the text from left
side). Such inconsistency doesn't look good from UI perspective, so I
added the same style as for main text.

## 馃摙 Changelog

### JS
- added `style={styles.text}` for emojis in main menu.

## 馃 How Has This Been Tested?

Tested on Xiaomi Redmi Note 5 Pro.

## 馃摳 Screenshots (if appropriate):

|Before|After|
|------|-----|

|![telegram-cloud-photo-size-2-5391221612445028562-y](https://github.com/kirillzyusko/react-native-keyboard-controller/assets/22820318/feb50b50-cb74-4d04-9444-24a47ffe314a)|![telegram-cloud-photo-size-2-5391221612445028563-y](https://github.com/kirillzyusko/react-native-keyboard-controller/assets/22820318/af8747a9-6f41-4a89-aa12-8909b8c55482)|

## 馃摑 Checklist

- [x] CI successfully passed
  • Loading branch information
kirillzyusko committed Aug 14, 2023
1 parent c98f420 commit e34cbad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ExampleLink: FC<Props> = (props) => {
<Text>
{index}. {title}
</Text>
<Text>{icons}</Text>
<Text style={styles.text}>{icons}</Text>
</View>
</TouchableOpacity>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ExampleLink: FC<Props> = (props) => {
<Text style={styles.text}>
{index}. {title}
</Text>
<Text>{icons}</Text>
<Text style={styles.text}>{icons}</Text>
</View>
</TouchableOpacity>
);
Expand Down

0 comments on commit e34cbad

Please sign in to comment.