diff --git a/src/components/Collections/CollectionInfoWithOptions.tsx b/src/components/Collections/CollectionInfoWithOptions.tsx index e7c85047c..dedd9230f 100644 --- a/src/components/Collections/CollectionInfoWithOptions.tsx +++ b/src/components/Collections/CollectionInfoWithOptions.tsx @@ -8,8 +8,8 @@ import { CollectionInfoBarWrapper } from './styledComponents'; import { shouldShowOptions } from 'utils/collection'; import { CollectionSummaryType } from 'constants/collection'; import Favorite from '@mui/icons-material/FavoriteRounded'; -import VisibilityOff from '@mui/icons-material/VisibilityOff'; import Delete from '@mui/icons-material/Delete'; +import { ArchiveOutlined } from '@mui/icons-material'; interface Iprops { activeCollection: Collection; @@ -43,7 +43,7 @@ export default function CollectionInfoWithOptions({ return ; case CollectionSummaryType.archived: case CollectionSummaryType.archive: - return ; + return ; case CollectionSummaryType.trash: return ; default: diff --git a/src/components/Collections/CollectionListBar/CollectionCard.tsx b/src/components/Collections/CollectionListBar/CollectionCard.tsx index c5bb00df4..3385ed279 100644 --- a/src/components/Collections/CollectionListBar/CollectionCard.tsx +++ b/src/components/Collections/CollectionListBar/CollectionCard.tsx @@ -11,7 +11,7 @@ import TruncateText from 'components/TruncateText'; import { Box } from '@mui/material'; import { CollectionSummaryType } from 'constants/collection'; import Favorite from '@mui/icons-material/FavoriteRounded'; -import VisibilityOff from '@mui/icons-material/VisibilityOff'; +import { ArchiveOutlined } from '@mui/icons-material'; interface Iprops { active: boolean; @@ -50,7 +50,7 @@ function CollectionCardIcon({ collectionType }) { {collectionType === CollectionSummaryType.favorites && } {collectionType === CollectionSummaryType.archived && ( - + )} ); diff --git a/src/components/Collections/CollectionOptions/AlbumCollectionOption.tsx b/src/components/Collections/CollectionOptions/AlbumCollectionOption.tsx index 9d6c4f3c4..24fcdd603 100644 --- a/src/components/Collections/CollectionOptions/AlbumCollectionOption.tsx +++ b/src/components/Collections/CollectionOptions/AlbumCollectionOption.tsx @@ -4,11 +4,10 @@ import React from 'react'; import EditIcon from '@mui/icons-material/Edit'; import IosShareIcon from '@mui/icons-material/IosShare'; import FileDownloadOutlinedIcon from '@mui/icons-material/FileDownloadOutlined'; -import VisibilityOffOutlinedIcon from '@mui/icons-material/VisibilityOffOutlined'; -import VisibilityOnOutlinedIcon from '@mui/icons-material/VisibilityOutlined'; import DeleteOutlinedIcon from '@mui/icons-material/DeleteOutlined'; import constants from 'utils/strings/constants'; import { CollectionActions } from '.'; +import { ArchiveOutlined, Unarchive } from '@mui/icons-material'; interface Iprops { IsArchived: boolean; @@ -53,13 +52,13 @@ export function AlbumCollectionOption({ onClick={handleCollectionAction( CollectionActions.UNARCHIVE )} - startIcon={}> + startIcon={}> {constants.UNARCHIVE} ) : ( }> + startIcon={}> {constants.ARCHIVE} )} diff --git a/src/components/Sidebar/ShortcutSection.tsx b/src/components/Sidebar/ShortcutSection.tsx index bb0a85cd1..a6fd397ff 100644 --- a/src/components/Sidebar/ShortcutSection.tsx +++ b/src/components/Sidebar/ShortcutSection.tsx @@ -3,9 +3,9 @@ import constants from 'utils/strings/constants'; import { GalleryContext } from 'pages/gallery'; import { ARCHIVE_SECTION, TRASH_SECTION } from 'constants/collection'; import DeleteIcon from '@mui/icons-material/Delete'; -import VisibilityOffIcon from '@mui/icons-material/VisibilityOff'; import { CollectionSummaries } from 'types/collection'; import ShortcutButton from './ShortcutButton'; +import { ArchiveOutlined } from '@mui/icons-material'; interface Iprops { closeSidebar: () => void; collectionSummaries: CollectionSummaries; @@ -36,7 +36,7 @@ export default function ShortcutSection({ onClick={openTrashSection} /> } + startIcon={} label={constants.ARCHIVE_SECTION_NAME} count={collectionSummaries.get(ARCHIVE_SECTION)?.fileCount} onClick={openArchiveSection} diff --git a/src/components/pages/gallery/SelectedFileOptions.tsx b/src/components/pages/gallery/SelectedFileOptions.tsx index 67aa43823..ae06fa62a 100644 --- a/src/components/pages/gallery/SelectedFileOptions.tsx +++ b/src/components/pages/gallery/SelectedFileOptions.tsx @@ -18,8 +18,8 @@ import AddIcon from '@mui/icons-material/Add'; import DeleteIcon from '@mui/icons-material/Delete'; import ClockIcon from '@mui/icons-material/AccessTime'; import DownloadIcon from '@mui/icons-material/Download'; -import UnArchiveIcon from '@mui/icons-material/Visibility'; -import ArchiveIcon from '@mui/icons-material/VisibilityOff'; +import UnArchiveIcon from '@mui/icons-material/Unarchive'; +import ArchiveIcon from '@mui/icons-material/ArchiveOutlined'; import MoveIcon from '@mui/icons-material/ArrowForward'; import RemoveIcon from '@mui/icons-material/RemoveCircleOutline'; import { getTrashFilesMessage } from 'utils/ui';