|
|
@@ -72,14 +72,20 @@ export const AccordionListItem = React.memo(
|
|
|
{item.icon && (
|
|
|
<Image
|
|
|
source={{ uri: API_HOST + item.icon }}
|
|
|
- style={[styles.headerImage, isSeries && { borderRadius: 0, borderWidth: 0 }]}
|
|
|
+ style={[
|
|
|
+ styles.headerImage,
|
|
|
+ isSeries ? { borderRadius: 0, borderWidth: 0 } : { resizeMode: 'cover' }
|
|
|
+ ]}
|
|
|
/>
|
|
|
)}
|
|
|
<Text style={styles.headerText}>{item.name}</Text>
|
|
|
</View>
|
|
|
|
|
|
<View style={styles.chevronContainer}>
|
|
|
- <ChevronIcon fill={Colors.DARK_BLUE} style={[styles.headerIcon, isExpanded ? styles.rotate : null]} />
|
|
|
+ <ChevronIcon
|
|
|
+ fill={Colors.DARK_BLUE}
|
|
|
+ style={[styles.headerIcon, isExpanded ? styles.rotate : null]}
|
|
|
+ />
|
|
|
</View>
|
|
|
</TouchableOpacity>
|
|
|
|