fix padding on Discover Feeds screen
parent
8bb3f40a59
commit
f891305185
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue