fix: item content header button colors

This commit is contained in:
Fredrik Burmester
2026-01-05 21:28:00 +01:00
parent 5b2e7b3883
commit e4134d6f9a
2 changed files with 2 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ export const AddToFavorites: FC<Props> = ({ item, ...props }) => {
<RoundButton <RoundButton
size='large' size='large'
icon={isFavorite ? "heart" : "heart-outline"} icon={isFavorite ? "heart" : "heart-outline"}
color={isFavorite ? "purple" : "white"}
onPress={toggleFavorite} onPress={toggleFavorite}
/> />
</View> </View>

View File

@@ -104,7 +104,7 @@ export const RoundButton: React.FC<PropsWithChildren<Props>> = ({
<Ionicons <Ionicons
name={icon} name={icon}
size={size === "large" ? 22 : 18} size={size === "large" ? 22 : 18}
color={"white"} color={color === "white" ? "white" : "#9334E9"}
/> />
) : null} ) : null}
{children ? children : null} {children ? children : null}