From a7980d5fa65f0e76b7c81fd2d40362689142c308 Mon Sep 17 00:00:00 2001 From: jorbuedo Date: Tue, 3 Sep 2024 11:39:57 +0200 Subject: [PATCH] fix(wallet-mobile): language picker icon color (#3591) --- .../InitialScreen/InitialScreen.tsx | 8 +-- .../src/features/Nfts/useCases/Nfts.json | 64 +++++++++---------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/apps/wallet-mobile/src/features/Initialization/InitialScreen/InitialScreen.tsx b/apps/wallet-mobile/src/features/Initialization/InitialScreen/InitialScreen.tsx index e9b01bf7a3..ffa21e4d7b 100644 --- a/apps/wallet-mobile/src/features/Initialization/InitialScreen/InitialScreen.tsx +++ b/apps/wallet-mobile/src/features/Initialization/InitialScreen/InitialScreen.tsx @@ -11,7 +11,7 @@ import {useNavigateTo, useStrings} from '../common' export const InitialScreen = () => { const strings = useStrings() - const styles = useStyles() + const {styles} = useStyles() const navigateTo = useNavigateTo() const [tosAccepted, setTosAccepted] = React.useState(false) @@ -91,7 +91,7 @@ export const InitialScreen = () => { } const LanguagePickRow = ({onPress}: {onPress: () => void}) => { - const styles = useStyles() + const {styles, color} = useStyles() const {languageCode, supportedLanguages} = useLanguage() const language = supportedLanguages.find((lang) => lang.code === languageCode) ?? defaultLanguage @@ -100,7 +100,7 @@ const LanguagePickRow = ({onPress}: {onPress: () => void}) => { - + ) @@ -156,5 +156,5 @@ const useStyles = () => { }, }) - return styles + return {styles, color} } diff --git a/apps/wallet-mobile/translations/messages/src/features/Nfts/useCases/Nfts.json b/apps/wallet-mobile/translations/messages/src/features/Nfts/useCases/Nfts.json index d8b61f6d92..1bfc1dffe3 100644 --- a/apps/wallet-mobile/translations/messages/src/features/Nfts/useCases/Nfts.json +++ b/apps/wallet-mobile/translations/messages/src/features/Nfts/useCases/Nfts.json @@ -4,14 +4,14 @@ "defaultMessage": "!!!NFT count", "file": "src/features/Nfts/useCases/Nfts.tsx", "start": { - "line": 173, + "line": 164, "column": 12, - "index": 4852 + "index": 4478 }, "end": { - "line": 176, + "line": 167, "column": 3, - "index": 4925 + "index": 4551 } }, { @@ -19,14 +19,14 @@ "defaultMessage": "!!!Oops!", "file": "src/features/Nfts/useCases/Nfts.tsx", "start": { - "line": 177, + "line": 168, "column": 14, - "index": 4941 + "index": 4567 }, "end": { - "line": 180, + "line": 171, "column": 3, - "index": 5012 + "index": 4638 } }, { @@ -34,14 +34,14 @@ "defaultMessage": "!!!Something went wrong.", "file": "src/features/Nfts/useCases/Nfts.tsx", "start": { - "line": 181, + "line": 172, "column": 20, - "index": 5034 + "index": 4660 }, "end": { - "line": 184, + "line": 175, "column": 3, - "index": 5127 + "index": 4753 } }, { @@ -49,14 +49,14 @@ "defaultMessage": "!!!Try to restart the app.", "file": "src/features/Nfts/useCases/Nfts.tsx", "start": { - "line": 185, + "line": 176, "column": 13, - "index": 5142 + "index": 4768 }, "end": { - "line": 188, + "line": 179, "column": 3, - "index": 5230 + "index": 4856 } }, { @@ -64,14 +64,14 @@ "defaultMessage": "!!!No NFTs found", "file": "src/features/Nfts/useCases/Nfts.tsx", "start": { - "line": 189, + "line": 180, "column": 15, - "index": 5247 + "index": 4873 }, "end": { - "line": 192, + "line": 183, "column": 3, - "index": 5327 + "index": 4953 } }, { @@ -79,14 +79,14 @@ "defaultMessage": "!!!No NFTs added to your wallet yet", "file": "src/features/Nfts/useCases/Nfts.tsx", "start": { - "line": 193, + "line": 184, "column": 18, - "index": 5347 + "index": 4973 }, "end": { - "line": 196, + "line": 187, "column": 3, - "index": 5449 + "index": 5075 } }, { @@ -94,14 +94,14 @@ "defaultMessage": "!!!NFT Gallery", "file": "src/features/Nfts/useCases/Nfts.tsx", "start": { - "line": 197, + "line": 188, "column": 9, - "index": 5460 + "index": 5086 }, "end": { - "line": 200, + "line": 191, "column": 3, - "index": 5535 + "index": 5161 } }, { @@ -109,14 +109,14 @@ "defaultMessage": "!!!Search NFT", "file": "src/features/Nfts/useCases/Nfts.tsx", "start": { - "line": 201, + "line": 192, "column": 10, - "index": 5547 + "index": 5173 }, "end": { - "line": 204, + "line": 195, "column": 3, - "index": 5622 + "index": 5248 } } ] \ No newline at end of file