Skip to content

Commit

Permalink
fix: go to onboarding page after resetting wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Sep 12, 2024
1 parent 72e1b5b commit 2abcb53
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pages/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export function Settings() {

return (
<View className="flex-1 flex flex-col p-6 gap-6">
<Screen
title="Settings"
/>
<Screen title="Settings" />
<Link href="/settings/wallets" asChild>
<TouchableOpacity className="flex flex-row items-center gap-4">
<Wallet2 className="text-foreground" />
Expand Down Expand Up @@ -85,7 +83,7 @@ export function Settings() {
onPress: () => {
router.dismissAll();
useAppStore.getState().reset();
router.replace("/");
router.replace("/onboarding");
},
},
],
Expand Down Expand Up @@ -119,7 +117,9 @@ export function Settings() {
}}
>
<View className="flex-1 flex-col items-center justify-end">
<Text className="text-foreground">Alby Go v{Constants.expoConfig?.version}</Text>
<Text className="text-foreground">
Alby Go v{Constants.expoConfig?.version}
</Text>
</View>
</TouchableOpacity>
</View>
Expand Down

0 comments on commit 2abcb53

Please sign in to comment.