diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/feeds/ProfileFeedgens.tsx | 6 | ||||
-rw-r--r-- | src/view/com/lists/ProfileLists.tsx | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/src/view/com/feeds/ProfileFeedgens.tsx b/src/view/com/feeds/ProfileFeedgens.tsx index 96a04bad0..e9cf9e535 100644 --- a/src/view/com/feeds/ProfileFeedgens.tsx +++ b/src/view/com/feeds/ProfileFeedgens.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {Dimensions, StyleProp, StyleSheet, View, ViewStyle} from 'react-native' +import {StyleProp, StyleSheet, View, ViewStyle} from 'react-native' import {useQueryClient} from '@tanstack/react-query' import {List, ListRef} from '../util/List' import {FeedSourceCardLoaded} from './FeedSourceCard' @@ -180,9 +180,7 @@ export const ProfileFeedgens = React.forwardRef< refreshing={isPTRing} onRefresh={onRefresh} headerOffset={headerOffset} - contentContainerStyle={{ - minHeight: Dimensions.get('window').height * 1.5, - }} + contentContainerStyle={isNative && {paddingBottom: headerOffset + 100}} indicatorStyle={theme.colorScheme === 'dark' ? 'white' : 'black'} removeClippedSubviews={true} // @ts-ignore our .web version only -prf diff --git a/src/view/com/lists/ProfileLists.tsx b/src/view/com/lists/ProfileLists.tsx index ba3e95b54..a47b25bed 100644 --- a/src/view/com/lists/ProfileLists.tsx +++ b/src/view/com/lists/ProfileLists.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {Dimensions, StyleProp, StyleSheet, View, ViewStyle} from 'react-native' +import {StyleProp, StyleSheet, View, ViewStyle} from 'react-native' import {useQueryClient} from '@tanstack/react-query' import {List, ListRef} from '../util/List' import {ListCard} from './ListCard' @@ -182,9 +182,9 @@ export const ProfileLists = React.forwardRef<SectionRef, ProfileListsProps>( refreshing={isPTRing} onRefresh={onRefresh} headerOffset={headerOffset} - contentContainerStyle={{ - minHeight: Dimensions.get('window').height * 1.5, - }} + contentContainerStyle={ + isNative && {paddingBottom: headerOffset + 100} + } indicatorStyle={theme.colorScheme === 'dark' ? 'white' : 'black'} removeClippedSubviews={true} // @ts-ignore our .web version only -prf |