From b0ce40d07c4e61c9eb0d11e3c6a9e5c69002e1cd Mon Sep 17 00:00:00 2001 From: im-adithya Date: Tue, 19 Nov 2024 19:22:55 +0530 Subject: [PATCH] fix: make contacts screen scrollable --- pages/send/AddressBook.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/send/AddressBook.tsx b/pages/send/AddressBook.tsx index 36d9dc3..299a3cb 100644 --- a/pages/send/AddressBook.tsx +++ b/pages/send/AddressBook.tsx @@ -1,5 +1,5 @@ import { Link, router } from "expo-router"; -import { Pressable, View } from "react-native"; +import { Pressable, ScrollView, View } from "react-native"; import Screen from "~/components/Screen"; import { Button } from "~/components/ui/button"; import { @@ -16,7 +16,7 @@ export function AddressBook() { return ( - + {addressBookEntries.length > 0 ? ( addressBookEntries.map((addressBookEntry, index) => ( - + {addressBookEntry.name || addressBookEntry.lightningAddress} @@ -46,7 +46,7 @@ export function AddressBook() { ) : ( No entries yet. )} - +