Skip to content

Commit

Permalink
💄[BUGFIX]: Update NoCryptoPlaceholder Icon on market using right Theme (
Browse files Browse the repository at this point in the history
  • Loading branch information
mcayuelas-ledger committed Apr 25, 2024
1 parent 6ba2746 commit 882c77d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/flat-experts-complain.md
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Update NoCryptoPlaceholder Icon on market using right Theme
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Expand Up @@ -6,7 +6,9 @@ import { Trans } from "react-i18next";
import Track from "~/renderer/analytics/Track";
import Image from "~/renderer/components/Image";

import NoResultsFound from "~/renderer/images/no-results-found.png";
import NoResultsFoundDark from "~/renderer/images/no-results-found-dark.png";
import NoResultsFoundLight from "~/renderer/images/no-results-found-light.png";

import { Button } from "../..";

type NoCryptoPlaceholderProps = {
Expand All @@ -30,7 +32,12 @@ export const NoCryptoPlaceholder = ({
>
<Track event="Page Market Search" success={false} />
<Flex justifyContent="center" alignItems="center">
<Image alt="no result found" resource={NoResultsFound} width={192} height={192} />
<Image
alt="no result found"
resource={{ dark: NoResultsFoundDark, light: NoResultsFoundLight }}
width={192}
height={192}
/>
</Flex>
<Text variant="large" my={3} textAlign="center">
{t("market.warnings.noCryptosFound")}
Expand Down

0 comments on commit 882c77d

Please sign in to comment.