From 0eb7d34c2e164b1190687118bd79c9bfa8c77662 Mon Sep 17 00:00:00 2001 From: jemubm <105349292+jemubm@users.noreply.github.com> Date: Thu, 26 May 2022 21:51:30 +0200 Subject: [PATCH] Yomo 237 little UI issues (#2000) --- legacy/i18n/locales/en-US.json | 2 +- src/Menu/Menu.tsx | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/legacy/i18n/locales/en-US.json b/legacy/i18n/locales/en-US.json index 084b8be1ab..a406afcfd1 100644 --- a/legacy/i18n/locales/en-US.json +++ b/legacy/i18n/locales/en-US.json @@ -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", diff --git a/src/Menu/Menu.tsx b/src/Menu/Menu.tsx index b718a750e6..a06bb0674e 100644 --- a/src/Menu/Menu.tsx +++ b/src/Menu/Menu.tsx @@ -78,12 +78,12 @@ const SupportLink = () => { {strings.supportTitle} - - + + - {strings.suppportLink.toLocaleUpperCase()} + {strings.supportLink.toLocaleUpperCase()} @@ -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), } } @@ -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: { @@ -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',