Skip to content

Commit

Permalink
fix: Hide wallet names too long (#3055)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbuedo authored Jan 29, 2024
1 parent 91b0535 commit 001ee87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/wallet-mobile/src/TxHistory/TxHistoryNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ const ModalInfoIconButton = (props: TouchableOpacityProps) => {
const SettingsIconButton = (props: TouchableOpacityProps) => {
return (
<TouchableOpacity {...props}>
<Icon.Settings size={30} color={COLORS.ACTION_GRAY} />
<Icon.Settings size={30} color={COLORS.BLACK} />
</TouchableOpacity>
)
}
Expand All @@ -466,12 +466,12 @@ const HeaderRightHistory = React.memo(() => {
const navigation = useNavigation<TxHistoryRouteNavigation>()

return (
<Row>
<Row style={{backgroundColor: '#E1EAF6', paddingStart: 8}}>
{!wallet.isReadOnly && (
<>
<CodeScannerButton
onPress={() => navigation.navigate('scan-start', {insideFeature: 'scan'})}
color={COLORS.ACTION_GRAY}
color={COLORS.BLACK}
/>

<Spacer width={10} />
Expand Down
2 changes: 1 addition & 1 deletion apps/wallet-mobile/src/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Guard<Params> = (params: Params | object) => params is Params

export const BackButton = (props: TouchableOpacityProps & {color?: string}) => (
<TouchableOpacity {...props} testID="buttonBack2">
<Icon.Chevron direction="left" color={props.color ?? '#000000'} />
<Icon.Chevron size={28} direction="left" color={props.color ?? '#000000'} />
</TouchableOpacity>
)

Expand Down

0 comments on commit 001ee87

Please sign in to comment.