From 77f393208fd06abd819cdaa1c926d6facec624ae Mon Sep 17 00:00:00 2001 From: katungi Date: Fri, 4 Oct 2024 09:34:06 +0300 Subject: [PATCH 1/2] fix: adds padding bottom to the speaker list --- app/(tabs)/speakers.tsx | 1 + constants/Styles.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/app/(tabs)/speakers.tsx b/app/(tabs)/speakers.tsx index d84de22..1bac422 100644 --- a/app/(tabs)/speakers.tsx +++ b/app/(tabs)/speakers.tsx @@ -23,6 +23,7 @@ const Speakers = () => { Speakers router.push(`/speakers/${item.id}`)} />} keyExtractor={(item) => item.id} diff --git a/constants/Styles.ts b/constants/Styles.ts index 6583b4c..d2f0f36 100644 --- a/constants/Styles.ts +++ b/constants/Styles.ts @@ -5,6 +5,7 @@ export const sizes = { xl: 26, xxl: 32, xxxl: 40, + xxxxl: 48, header: 60, card: 220, cardImage: 150, From 51a847760b43bfa311e2cc170504fa900ab6c2cc Mon Sep 17 00:00:00 2001 From: katungi Date: Fri, 4 Oct 2024 11:17:27 +0300 Subject: [PATCH 2/2] feat: added bottom padding in the session list as well --- app/(tabs)/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 2b35e53..b79f987 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -92,7 +92,7 @@ export default function Schedule() { onScroll={scrollHandler} onViewableItemsChanged={onViewableItemsChanged} data={data} - contentContainerStyle={{ paddingTop: spacing.xl, paddingBottom: spacing.xl }} + contentContainerStyle={{ paddingTop: spacing.xl, paddingBottom: spacing.xxl }} scrollEventThrottle={8} stickyHeaderIndices={[0]} ListHeaderComponent={() => {