diff --git a/pages/Home.tsx b/pages/Home.tsx index ea926ca..5715d2a 100644 --- a/pages/Home.tsx +++ b/pages/Home.tsx @@ -65,11 +65,13 @@ export function Home() { ( - - - - - + { + router.push("/settings"); + }} + > + + )} /> @@ -145,12 +147,14 @@ export function Home() { - - + + + + diff --git a/pages/Transactions.tsx b/pages/Transactions.tsx index 0f3ab2f..b241eb6 100644 --- a/pages/Transactions.tsx +++ b/pages/Transactions.tsx @@ -75,7 +75,7 @@ export function Transactions() { animation="slide_from_bottom" right={() => ( { + onPressIn={() => { router.back(); }} > diff --git a/pages/send/PaymentSuccess.tsx b/pages/send/PaymentSuccess.tsx index 3be99ce..c11a127 100644 --- a/pages/send/PaymentSuccess.tsx +++ b/pages/send/PaymentSuccess.tsx @@ -1,6 +1,7 @@ import { openURL } from "expo-linking"; import { router, useLocalSearchParams } from "expo-router"; import { LNURLPaymentSuccessAction } from "lib/lnurl"; +import React from "react"; import { ScrollView, View } from "react-native"; import { Tick } from "~/animations/Tick"; import { Receiver } from "~/components/Receiver"; diff --git a/pages/settings/wallets/SetupWallet.tsx b/pages/settings/wallets/SetupWallet.tsx index 4bad391..315dbdb 100644 --- a/pages/settings/wallets/SetupWallet.tsx +++ b/pages/settings/wallets/SetupWallet.tsx @@ -4,7 +4,7 @@ import * as Clipboard from "expo-clipboard"; import { router, useLocalSearchParams } from "expo-router"; import { useAppStore } from "lib/state/appStore"; import React from "react"; -import { Pressable, TouchableOpacity, View } from "react-native"; +import { TouchableOpacity, View } from "react-native"; import Toast from "react-native-toast-message"; import Alert from "~/components/Alert"; import DismissableKeyboardView from "~/components/DismissableKeyboardView"; @@ -153,8 +153,8 @@ export function SetupWallet() { title="Setup Wallet Connection" right={() => walletIdWithConnection !== -1 ? ( - { + { useAppStore .getState() .setSelectedWalletId(walletIdWithConnection); @@ -165,7 +165,7 @@ export function SetupWallet() { }} > - + ) : (