Skip to content

Commit

Permalink
Merge pull request #11 from katungi/main
Browse files Browse the repository at this point in the history
fix: adds padding bottom to the speaker list
  • Loading branch information
kharioki authored Oct 4, 2024
2 parents 45eec49 + 51a8477 commit b4d5508
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/(tabs)/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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={() => {
Expand Down
1 change: 1 addition & 0 deletions app/(tabs)/speakers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const Speakers = () => {
Speakers
</StyledText>
<FlatList
contentContainerStyle={{ paddingBottom: sizes.xxxxl }}
data={speakers}
renderItem={({ item }) => <SpeakerCard speaker={item} onPress={() => router.push(`/speakers/${item.id}`)} />}
keyExtractor={(item) => item.id}
Expand Down
1 change: 1 addition & 0 deletions constants/Styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const sizes = {
xl: 26,
xxl: 32,
xxxl: 40,
xxxxl: 48,
header: 60,
card: 220,
cardImage: 150,
Expand Down

0 comments on commit b4d5508

Please sign in to comment.