From 8b9a36d028fb0ae665bb85266c9aa96741e1e5e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?VIR=C3=81G=2C=20Bal=C3=A1zs?= <152511065+viragur@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:28:43 +0100 Subject: [PATCH] Proposed fix for untranslated 'Mint' string on home screen. (#316) * Fix untranslated 'Mint' string on homescreen when no mints are set up. * Fix untranslated 'Mint' string on home screen when no mints are set up. --- src/screens/Dashboard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/Dashboard.tsx b/src/screens/Dashboard.tsx index df8baa2b..5f3983a4 100644 --- a/src/screens/Dashboard.tsx +++ b/src/screens/Dashboard.tsx @@ -330,7 +330,7 @@ export default function Dashboard({ navigation, route }: TDashboardPageProps) { : } - txt='Mint' + txt={t('mint')} color={hi[highlight]} onPress={() => setModal(prev => ({ ...prev, mint: true }))} /> @@ -494,4 +494,4 @@ const styles = ScaledSheet.create({ borderColor: mainColors.WARN, borderRadius: '50@s', } -}) \ No newline at end of file +})