Skip to content

Commit

Permalink
Merge branch 'develop' into fix/restore-hw-wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss authored Sep 3, 2024
2 parents acf2705 + a7980d5 commit 1b8ebd8
Showing 1 changed file with 4 additions and 4 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}
}

0 comments on commit 1b8ebd8

Please sign in to comment.