fix padding on Discover Feeds screen
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user