Skip to content

Commit

Permalink
fix: settings button in header
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Dec 30, 2024
1 parent d049750 commit ffbcd4c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@ export function Home() {
<Screen
title=""
right={() => (
<Link href="/settings" asChild>
<TouchableOpacity>
<SettingsIcon className="text-muted-foreground" />
</TouchableOpacity>
</Link>
<TouchableOpacity
onPressIn={() => {
router.push("/settings");
}}
>
<SettingsIcon className="text-muted-foreground" />
</TouchableOpacity>
)}
/>
<View className="h-full flex p-6">
Expand Down

0 comments on commit ffbcd4c

Please sign in to comment.