Merge pull request #6389 from BlueWallet/heig

FIX: Carousel height was off on Android
This commit is contained in:
GLaDOS 2024-04-09 15:48:08 +00:00 committed by GitHub
commit 56475955e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -227,10 +227,10 @@ export const WalletCarouselItem = ({ item, _, onPress, handleLongPress, isSelect
<Text
numberOfLines={1}
key={balance} // force component recreation on balance change. To fix right-to-left languages, like Farsi
adjustsFontSizeToFit
ellipsizeMode='middle'
style={[iStyles.balance, { color: colors.inverseForegroundColor }]}
>
{balance}
{`${balance} `}
</Text>
)}
<Text style={iStyles.br} />