Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Hide wallet names too long #3055

Merged
merged 5 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading