Skip to content

Commit 21abcd5

Browse files
committed
feat: show convert button for iOS when balance is greater than zero
1 parent b9dabef commit 21abcd5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/screens/home-screen/home-screen.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,14 @@ export const HomeScreen: React.FC = () => {
359359
},
360360
]
361361

362+
const isIosWithBalance = isIos && numericBalance > 0
363+
362364
if (
363365
!isIos ||
364366
dataUnauthed?.globals?.network !== "mainnet" ||
365367
levelAccount === AccountLevel.Two ||
366-
levelAccount === AccountLevel.Three
368+
levelAccount === AccountLevel.Three ||
369+
isIosWithBalance
367370
) {
368371
buttons.unshift({
369372
title: LL.ConversionDetailsScreen.title(),

0 commit comments

Comments
 (0)