fix: item content header button colors

This commit is contained in:
Fredrik Burmester
2026-01-05 10:06:29 +01:00
parent 5b2e7b3883
commit 98fddcda74
2 changed files with 2 additions and 1 deletions

View File

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

View File

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