Skip to content

Commit

Permalink
made card background white
Browse files Browse the repository at this point in the history
  • Loading branch information
iskounen committed Dec 17, 2024
1 parent efcb344 commit 7852372
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/app/Components/FancySwiper/FancySwiperCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ export const FancySwiperCard = memo(

return (
<Animated.View
style={[
{ position: "absolute", zIndex: -1, backgroundColor: "white" },
isTopCard && animatedStyle,
]}
style={[{ position: "absolute", zIndex: -1 }, isTopCard && animatedStyle]}
{...rest}
>
{card.jsx}
Expand Down
4 changes: 2 additions & 2 deletions src/app/Scenes/InfiniteDiscovery/InfiniteDiscovery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const InfiniteDiscovery: React.FC = () => {
const artworkCards: Card[] = artworks.slice(currentArtworkIndex).map((artwork) => {
return {
jsx: (
<>
<Flex backgroundColor={color("white100")}>
<Flex flexDirection="row" justifyContent="space-between" testID="artist-header">
<Text variant="sm-display">Artist Name</Text>
<Button variant="outlineGray">Follow</Button>
Expand All @@ -82,7 +82,7 @@ export const InfiniteDiscovery: React.FC = () => {
</Flex>
<Button variant="fillGray">Save</Button>
</Flex>
</>
</Flex>
),
id: artwork,
}
Expand Down

0 comments on commit 7852372

Please sign in to comment.