Skip to content

Commit

Permalink
Merge pull request #552 from 0xsend/dev
Browse files Browse the repository at this point in the history
deploy
  • Loading branch information
0xBigBoss authored Jul 5, 2024
2 parents 62ed945 + e3eb0b8 commit d46ed6c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ exports[`AccountScreen renders the account screen: AccountScreen 1`] = `
}
suppressHighlighting={true}
>
@test
/test
</Text>
</View>
</View>
Expand Down
2 changes: 1 addition & 1 deletion packages/app/features/account/screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export function AccountScreen() {
<InfoLabel text="SENDTAGS" />
<XStack gap={'$3.5'} flexWrap="wrap" flex={1}>
{tags.map((tag) => (
<InfoItem text={`@${tag.name}`} key={tag.name} />
<InfoItem text={`/${tag.name}`} key={tag.name} />
))}
</XStack>
</XStack>
Expand Down
4 changes: 3 additions & 1 deletion packages/app/features/home/TokenDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,14 @@ const TokenDetailsBalance = ({
}

const balanceWithDecimals = Number(balance.data.value) / 10 ** (balance.data?.decimals ?? 0)
const balanceWithDecimalsLength = balanceWithDecimals.toString().replace('.', '').length

return (
<Tooltip placement="bottom">
<Tooltip.Trigger $platform-web={{ width: 'fit-content' }}>
<BigHeading
$platform-web={{ width: 'fit-content' }}
$sm={{ fontSize: balanceWithDecimals.toString().length > 8 ? '$10' : 68 }}
$sm={{ fontSize: balanceWithDecimalsLength ? '$10' : 68 }}
color={'$color12'}
>
{formatAmount(balanceWithDecimals.toString(), 10, 5)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ exports[`TokenDetails 1`] = `
{
"color": "#FFFFFF",
"fontFamily": "System",
"fontSize": 68,
"fontSize": 46,
"fontWeight": "700",
"lineHeight": 57,
"marginBottom": 0,
Expand Down

0 comments on commit d46ed6c

Please sign in to comment.