Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1856 from artsy/black60
Browse files Browse the repository at this point in the history
[Artwork view] - Uses black60 for reserve met
  • Loading branch information
sweir27 authored Sep 12, 2019
2 parents c0ea85a + b005bd7 commit ff8ff59
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Example/Emission/ARRootViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ - (ARCellData *)jumpToArtworkWithInquireable
- (ARCellData *)jumpToArtworkInAuction
{
return [self tappableCellDataWithTitle:@"Artwork In Auction" selection:^{
id viewController = [[ARArtworkComponentViewController alloc] initWithArtworkID:@"paul-cadden-painting"];
id viewController = [[ARArtworkComponentViewController alloc] initWithArtworkID:@"lucha-rodriguez-untitled"];
[self.navigationController pushViewController:viewController animated:YES];
}];
}
Expand Down
3 changes: 1 addition & 2 deletions src/lib/Scenes/Artwork/Components/AuctionPrice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export class AuctionPrice extends React.Component<AuctionPriceProps> {
}
}
if (reserveMessage) {
reserveMessage = reserveMessage + "."
bidTextParts.push(reserveMessage)
}
return bidTextParts.join(", ")
Expand Down Expand Up @@ -82,7 +81,7 @@ export class AuctionPrice extends React.Component<AuctionPriceProps> {
</Sans>
</Flex>
<Flex flexDirection="row" flexWrap="nowrap" justifyContent="space-between">
<Sans size="2" pr={1}>
<Sans size="2" pr={1} color="black60">
{this.bidText(bidsPresent, bidsCount)}
</Sans>
{myMaxBid && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe("AuctionPrice", () => {
const texts = wrapper.find(Sans).map(x => x.text())

expect(texts).toContain("Starting bid")
expect(texts).toContain("This work has a reserve.")
expect(texts).toContain("This work has a reserve")
expect(texts).toContain("$3,000")
})
})
Expand All @@ -110,7 +110,7 @@ describe("AuctionPrice", () => {
const texts = wrapper.find(Sans).map(x => x.text())

expect(texts).toContain("Current bid")
expect(texts).toContain("2 bids, reserve not met.")
expect(texts).toContain("2 bids, reserve not met")
expect(texts).toContain("$10,000")
})
})
Expand All @@ -121,7 +121,7 @@ describe("AuctionPrice", () => {
const texts = wrapper.find(Sans).map(x => x.text())

expect(texts).toContain("Current bid")
expect(texts).toContain("2 bids, reserve met.")
expect(texts).toContain("2 bids, reserve met")
expect(texts).toContain("$500")
})
})
Expand Down

0 comments on commit ff8ff59

Please sign in to comment.