Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: exchanging select icons

Ilian Sapundshiev7e7dd86505cf
diff --git a/app/components/CommonIcons.tsx b/app/components/CommonIcons.tsx
index 51bf98528..d5eac435c 100644
--- a/app/components/CommonIcons.tsx
+++ b/app/components/CommonIcons.tsx
@@ -97,3 +97,7 @@ export { default as ArchiveIcon } from '@mui/icons-material/Archive';
export { default as SearchIcon } from '@mui/icons-material/Search';
export { default as CloseIcon } from '@mui/icons-material/Close';
+
+export { default as SelectedIcon } from '@mui/icons-material/CheckCircle';
+
+export { default as UnSelectedIcon } from '@mui/icons-material/RadioButtonUnchecked';
diff --git a/app/perspectives/grid-perspective/components/CellContent.tsx b/app/perspectives/grid-perspective/components/CellContent.tsx
index 30ca6e51a..9d51bc5a9 100644
--- a/app/perspectives/grid-perspective/components/CellContent.tsx
+++ b/app/perspectives/grid-perspective/components/CellContent.tsx
@@ -24,8 +24,7 @@ import Paper from '@mui/material/Paper';
import Tooltip from '-/components/Tooltip';
import FolderOpenIcon from '@mui/icons-material/FolderOpen';
import IconButton from '@mui/material/IconButton';
-import SelectedIcon from '@mui/icons-material/CheckCircle';
-import UnSelectedIcon from '@mui/icons-material/RadioButtonUnchecked';
+import { SelectedIcon, UnSelectedIcon } from '-/components/CommonIcons';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import {
diff --git a/app/perspectives/grid-perspective/components/MainToolbar.tsx b/app/perspectives/grid-perspective/components/MainToolbar.tsx
index cb989182a..155c2d332 100644
--- a/app/perspectives/grid-perspective/components/MainToolbar.tsx
+++ b/app/perspectives/grid-perspective/components/MainToolbar.tsx
@@ -22,8 +22,7 @@ import Tooltip from '-/components/Tooltip';
import IconButton from '@mui/material/IconButton';
import SortingIcon from '@mui/icons-material/SwapVerticalCircle';
import TagIcon from '@mui/icons-material/LocalOffer';
-import SelectAllIcon from '@mui/icons-material/CheckBox';
-import DeSelectAllIcon from '@mui/icons-material/CheckBoxOutlineBlank';
+import { SelectedIcon, UnSelectedIcon } from '-/components/CommonIcons';
import CopyIcon from '@mui/icons-material/FileCopy';
import DeleteIcon from '@mui/icons-material/Delete';
import ExportIcon from '@mui/icons-material/AssignmentReturn';
@@ -152,7 +151,7 @@ function MainToolbar(props: Props) {
onClick={toggleSelectAllFiles}
size="large"
>
- {someFileSelected ? <SelectAllIcon /> : <DeSelectAllIcon />}
+ {someFileSelected ? <SelectedIcon /> : <UnSelectedIcon />}
</IconButton>
</Tooltip>
<Tooltip title={i18n.t('core:directoryPropertiesTitle')}>