Skip to content

Commit

Permalink
Yomo 237 little UI issues (#2000)
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss authored May 26, 2022
1 parent 7b8e7aa commit 0eb7d34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion legacy/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"menu.catalystVoting": "Catalyst Voting",
"menu.settings": "Settings",
"menu.supportTitle": "Any questions?",
"menu.suppportLink": "Ask our support team",
"menu.supportLink": "Ask our support team",
"components.common.errormodal.hideError": "Hide error message",
"components.common.errormodal.showError": "Show error message",
"components.common.fingerprintscreenbase.welcomeMessage": "Welcome Back",
Expand Down
16 changes: 7 additions & 9 deletions src/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ const SupportLink = () => {
<View style={styles.supportTitle}>
<Text style={styles.supportTitleText}>{strings.supportTitle}</Text>
</View>

<TouchableOpacity onPress={navigateTo.support} style={styles.suppportLink}>
<Spacer height={10} />
<TouchableOpacity onPress={navigateTo.support} style={styles.supportLink}>
<Image source={SupportImage} />
<Spacer width={10} />
<Text bold style={styles.supportLinkText}>
{strings.suppportLink.toLocaleUpperCase()}
{strings.supportLink.toLocaleUpperCase()}
</Text>
</TouchableOpacity>
</View>
Expand Down Expand Up @@ -157,7 +157,7 @@ const useStrings = () => {
catalystVoting: intl.formatMessage(messages.catalystVoting),
settings: intl.formatMessage(messages.settings),
supportTitle: intl.formatMessage(messages.supportTitle),
suppportLink: intl.formatMessage(messages.suppportLink),
supportLink: intl.formatMessage(messages.supportLink),
menu: intl.formatMessage(messages.menu),
}
}
Expand All @@ -179,8 +179,8 @@ const messages = defineMessage({
id: 'menu.supportTitle',
defaultMessage: '!!!Any questions',
},
suppportLink: {
id: 'menu.suppportLink',
supportLink: {
id: 'menu.supportLink',
defaultMessage: '!!!Ask our support team',
},
menu: {
Expand Down Expand Up @@ -213,14 +213,12 @@ const styles = StyleSheet.create({
alignItems: 'center',
},
supportTitle: {
height: 16,
justifyContent: 'center',
},
supportTitleText: {
color: '#6B7384',
},
suppportLink: {
height: 50,
supportLink: {
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
Expand Down

0 comments on commit 0eb7d34

Please sign in to comment.