diff --git a/.changeset/angry-seals-drop.md b/.changeset/angry-seals-drop.md
new file mode 100644
index 000000000000..f39f5f799018
--- /dev/null
+++ b/.changeset/angry-seals-drop.md
@@ -0,0 +1,5 @@
+---
+"ledger-live-desktop": minor
+---
+
+Update navigator side bar icons
diff --git a/apps/ledger-live-desktop/src/renderer/components/MainSideBar/index.tsx b/apps/ledger-live-desktop/src/renderer/components/MainSideBar/index.tsx
index 96eb19fecd91..d2ad6fcf345d 100644
--- a/apps/ledger-live-desktop/src/renderer/components/MainSideBar/index.tsx
+++ b/apps/ledger-live-desktop/src/renderer/components/MainSideBar/index.tsx
@@ -7,7 +7,7 @@ import styled from "styled-components";
import { useDeviceHasUpdatesAvailable } from "@ledgerhq/live-common/manager/useDeviceHasUpdatesAvailable";
import { useRemoteLiveAppManifest } from "@ledgerhq/live-common/platform/providers/RemoteLiveAppProvider/index";
import { FeatureToggle, useFeature } from "@ledgerhq/live-common/featureFlags/index";
-import { IconsLegacy, Tag as TagComponent } from "@ledgerhq/react-ui";
+import { IconsLegacy, Icons, Tag as TagComponent } from "@ledgerhq/react-ui";
import { accountsSelector, starredAccountsSelector } from "~/renderer/reducers/accounts";
import {
sidebarCollapsedSelector,
@@ -21,7 +21,6 @@ import { setSidebarCollapsed } from "~/renderer/actions/settings";
import useExperimental from "~/renderer/hooks/useExperimental";
import { setTrackingSource } from "~/renderer/analytics/TrackPage";
import { darken, rgba } from "~/renderer/styles/helpers";
-import IconChevron from "~/renderer/icons/ChevronRightSmall";
import IconExperimental from "~/renderer/icons/Experimental";
import { SideBarList, SideBarListItem } from "~/renderer/components/SideBar";
import Box from "~/renderer/components/Box";
@@ -385,7 +384,7 @@ const MainSideBar = () => {
onClick={handleCollapse}
data-testid="drawer-collapse-button"
>
-
+
{ldmkTransportFlag?.enabled && ldmkTransportFlag?.params?.warningVisible && (
@@ -397,8 +396,7 @@ const MainSideBar = () => {
{
{
{
{
{
{
{
{
{
{
{
{
React.ReactNode);
desc?: (a: Props) => React.ReactNode;
- icon?: React.ComponentType<{ size?: number }>;
- iconSize?: number;
+ icon?: ({ size }: IconProps) => JSX.Element;
+ iconSize?: IconProps["size"];
disabled?: boolean;
iconActiveColor: string | undefined;
NotifComponent?: React.ReactNode;
@@ -22,7 +26,7 @@ class SideBarListItem extends PureComponent {
render() {
const {
icon: Icon,
- iconSize,
+ iconSize = "S",
label,
desc,
iconActiveColor,
@@ -56,7 +60,7 @@ class SideBarListItem extends PureComponent {
onClick={disabled ? undefined : onClick}
disabled={disabled}
>
- {!!Icon && }
+ {!!Icon && }
diff --git a/apps/ledger-live-desktop/src/renderer/screens/dashboard/FeaturedButtons.tsx b/apps/ledger-live-desktop/src/renderer/screens/dashboard/FeaturedButtons.tsx
index 54427c8d6296..1bc0eb197201 100644
--- a/apps/ledger-live-desktop/src/renderer/screens/dashboard/FeaturedButtons.tsx
+++ b/apps/ledger-live-desktop/src/renderer/screens/dashboard/FeaturedButtons.tsx
@@ -1,5 +1,5 @@
import React, { useCallback } from "react";
-import { Grid, IconsLegacy } from "@ledgerhq/react-ui";
+import { Grid, Icons } from "@ledgerhq/react-ui";
import styled from "styled-components";
import { useTranslation } from "react-i18next";
import EntryButton from "~/renderer/components/EntryButton/EntryButton";
@@ -26,7 +26,7 @@ const FeaturedButtons = () => {
const { enabled: bannerEnabled } = bannerFeatureFlag || { enabled: false };
- const stakeDisabled = stakeProgramsFeatureFlag?.params?.list?.length === 0 ?? true;
+ const stakeDisabled = stakeProgramsFeatureFlag?.params?.list?.length === 0;
const startStakeFlow = useStakeFlow();
const handleClickExchange = useCallback(() => {
@@ -52,21 +52,21 @@ const FeaturedButtons = () => {
return (
}
+ Icon={() => }
title={t("dashboard.featuredButtons.buySell.title")}
body={t("dashboard.featuredButtons.buySell.description")}
onClick={handleClickExchange}
entryButtonTestId="buy-sell-entry-button"
/>
}
+ Icon={() => }
title={t("dashboard.featuredButtons.swap.title")}
body={t("dashboard.featuredButtons.swap.description")}
onClick={handleClickSwap}
entryButtonTestId="swap-entry-button"
/>
}
+ Icon={() => }
disabled={stakeDisabled}
title={stakeLabel}
body={t("dashboard.featuredButtons.earn.description")}