Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

refactor(photos):use-hugeicons-for-shell-navigation

Aswin Asok6ed43bd54c99
diff --git a/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx b/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
index 546027715c..d9f06a0b4f 100644
--- a/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
+++ b/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx
@@ -1,10 +1,12 @@
import { SearchBar, type SearchBarProps } from "@/components/SearchBar";
import { uploadManager } from "@/services/upload-manager";
-import { Upload01Icon } from "@hugeicons/core-free-icons";
+import {
+ Home01Icon,
+ Settings01Icon,
+ Upload01Icon,
+} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import HomeIcon from "@mui/icons-material/HomeOutlined";
import MenuIcon from "@mui/icons-material/Menu";
-import SettingsIcon from "@mui/icons-material/SettingsOutlined";
import { Box, IconButton, Stack, Tooltip } from "@mui/material";
import { EnteLogo, EnteLogoBox } from "ente-base/components/EnteLogo";
import type { ButtonishProps } from "ente-base/components/mui";
@@ -151,7 +153,7 @@ const NormalHeaderContents: React.FC<PhotosNavigationShellProps> = ({
borderRadius: "12px",
}}
>
- <HomeIcon sx={{ fontSize: 20 }} />
+ <HugeiconsIcon icon={Home01Icon} size={20} />
</FocusVisibleButton>
</Tooltip>
)}
@@ -194,7 +196,7 @@ const NormalNavigationRail: React.FC<
borderRadius: "12px",
}}
>
- <SettingsIcon sx={{ fontSize: 20 }} />
+ <HugeiconsIcon icon={Settings01Icon} size={20} />
</FocusVisibleButton>
</Tooltip>
</>