mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
Adjust item separator height in CatalogScreen
This commit is contained in:
parent
67d53cf5ce
commit
b916bdbcca
1 changed files with 3 additions and 2 deletions
|
|
@ -190,6 +190,7 @@ const createStyles = (colors: any) => StyleSheet.create({
|
|||
shadowOpacity: 0.1,
|
||||
shadowRadius: 4,
|
||||
elevation: 2,
|
||||
paddingHorizontal:4,
|
||||
},
|
||||
poster: {
|
||||
width: '100%',
|
||||
|
|
@ -1059,7 +1060,7 @@ const CatalogScreen: React.FC<CatalogScreenProps> = ({ route, navigation }) => {
|
|||
keyExtractor={(item) => `${item.id}-${item.type}`}
|
||||
numColumns={effectiveNumColumns}
|
||||
key={effectiveNumColumns}
|
||||
ItemSeparatorComponent={() => <View style={{ height: ((screenData as any).itemSpacing ?? SPACING.sm) }} />}
|
||||
ItemSeparatorComponent={() => <View style={{ height: ((screenData as any).itemSpacing ?? SPACING.sm) - 20 }} />}
|
||||
refreshControl={
|
||||
<RefreshControl
|
||||
refreshing={refreshing}
|
||||
|
|
@ -1114,4 +1115,4 @@ const CatalogScreen: React.FC<CatalogScreenProps> = ({ route, navigation }) => {
|
|||
);
|
||||
};
|
||||
|
||||
export default CatalogScreen;
|
||||
export default CatalogScreen;
|
||||
|
|
|
|||
Loading…
Reference in a new issue