Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fund wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
intergalacticspacehighway committed Nov 17, 2023
1 parent b78ae4f commit 4f81ed8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/app/components/profile/creator-tokens-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,8 @@ export const CreatorTokensPanel = ({
<Text tw="text-base font-bold text-gray-900 dark:text-white">
{ethBalance.data?.displayBalance}
</Text>
{Platform.OS === "web" &&
ethBalance.data?.displayBalance &&
Number(ethBalance.data?.displayBalance) <= 0.005 ? (
<Button onPress={() => fundWallet("eth")}>Top up</Button>
{Platform.OS === "web" ? (
<Button onPress={() => fundWallet("eth")}>Buy ETH</Button>
) : null}
</View>
</View>
Expand Down

0 comments on commit 4f81ed8

Please sign in to comment.