Skip to content

Commit

Permalink
fix(wallet-mobile): language picker icon color (#3591)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbuedo authored Sep 3, 2024
1 parent 23675b0 commit a7980d5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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

Expand All @@ -100,7 +100,7 @@ const LanguagePickRow = ({onPress}: {onPress: () => void}) => {
<TextInput style={styles.input} value={language.label} pointerEvents="none" editable={false} />

<View style={styles.inputIcon}>
<Icon.Chevron size={34} direction="down" />
<Icon.Chevron size={34} direction="down" color={color.el_gray_medium} />
</View>
</TouchableOpacity>
)
Expand Down Expand Up @@ -156,5 +156,5 @@ const useStyles = () => {
},
})

return styles
return {styles, color}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,119 +4,119 @@
"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
}
},
{
"id": "nft.gallery.errorTitle",
"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
}
},
{
"id": "nft.gallery.errorDescription",
"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
}
},
{
"id": "nft.gallery.reloadApp",
"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
}
},
{
"id": "nft.gallery.noNftsFound",
"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
}
},
{
"id": "nft.gallery.noNftsInWallet",
"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
}
},
{
"id": "nft.navigation.title",
"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
}
},
{
"id": "nft.navigation.search",
"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
}
}
]

0 comments on commit a7980d5

Please sign in to comment.