fix padding on Discover Feeds screen

zio/stable
Ansh Nanda 2023-05-25 13:42:26 -07:00
parent 8bb3f40a59
commit f891305185
1 changed files with 4 additions and 1 deletions

View File

@ -72,6 +72,7 @@ export const DiscoverFeedsScreen = withAuthRequired(
style={[!isDesktopWeb && s.flex1]} style={[!isDesktopWeb && s.flex1]}
data={feeds.feeds} data={feeds.feeds}
keyExtractor={item => item.data.uri} keyExtractor={item => item.data.uri}
contentContainerStyle={styles.contentContainer}
refreshControl={ refreshControl={
<RefreshControl <RefreshControl
refreshing={feeds.isRefreshing} refreshing={feeds.isRefreshing}
@ -93,7 +94,9 @@ export const DiscoverFeedsScreen = withAuthRequired(
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
flex: 1, flex: 1,
paddingBottom: isDesktopWeb ? 0 : 100, },
contentContainer: {
paddingBottom: 100,
}, },
containerDesktop: { containerDesktop: {
borderLeftWidth: 1, borderLeftWidth: 1,