Skip to content

Commit

Permalink
fix: touchable instead of link button
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Sep 3, 2024
1 parent 847deb0 commit 126a968
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/settings/Wallets.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link } from "expo-router";
import { Pressable, View } from "react-native";
import { Pressable, TouchableOpacity, View } from "react-native";
import { FlatList } from "react-native";
import { Settings2, Wallet2 } from "~/components/Icons";
import { Button } from "~/components/ui/button";
Expand Down Expand Up @@ -47,12 +47,12 @@ export function Wallets() {
{active && (
<Link
href={`/settings/wallets/${selectedWalletId}`}
className="absolute right-2"
className="absolute right-4"
asChild
>
<Button variant="link">
<TouchableOpacity>
<Settings2 className="text-foreground w-32 h-32" />
</Button>
</TouchableOpacity>
</Link>
)}
</Pressable>
Expand Down

0 comments on commit 126a968

Please sign in to comment.