Skip to content

Commit

Permalink
fix(android): fix text not diplayed on android
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Froment <sfroment42@gmail.com>
  • Loading branch information
sfroment committed Jan 9, 2019
1 parent a1f5961 commit f0eae58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions client/react-native/common/components/Library/EmptyList.js
Expand Up @@ -64,7 +64,6 @@ export default class EmptyList extends PureComponent {
onPress={onPress}
style={{
fontSize: fontSize,
textTransform: 'uppercase',
color: colors.white,
display: 'flex',
textAlign: 'center',
Expand All @@ -73,7 +72,7 @@ export default class EmptyList extends PureComponent {
justifyContent: 'center',
}}
>
{btnText}
{btnText.toUpperCase()}
</Text>
</View>
</View>
Expand Down
Expand Up @@ -47,7 +47,6 @@ class CondComponent extends PureComponent {
<Text
style={{
fontSize: fontSize,
textTransform: 'uppercase',
color: colors.white,
display: 'flex',
textAlign: 'center',
Expand All @@ -56,7 +55,7 @@ class CondComponent extends PureComponent {
justifyContent: 'center',
}}
>
{I18n.t('contacts.add.title')}
{I18n.t('contacts.add.title').toUpperCase()}
</Text>
</View>
</View>
Expand Down

0 comments on commit f0eae58

Please sign in to comment.