Skip to content

Commit

Permalink
feat(core): update split view icons and texts
Browse files Browse the repository at this point in the history
  • Loading branch information
CatsJuice committed Mar 19, 2024
1 parent 398d66f commit c08a7eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@blocksuite/block-std": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/blocks": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/global": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/icons": "2.1.45",
"@blocksuite/icons": "2.1.46",
"@blocksuite/inline": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/lit": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/presets": "0.13.0-canary-202403140735-2367cd5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { MenuIcon, MenuItem } from '@affine/component';
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import {
ExpandCloseIcon,
KeepThisOneIcon,
MoveToLeftIcon,
MoveToRightIcon,
SoloViewIcon,
} from '@blocksuite/icons';
import { useSortable } from '@dnd-kit/sortable';
import { useService } from '@toeverything/infra/di';
Expand Down Expand Up @@ -158,7 +158,7 @@ const SplitViewMenu = ({ view }: { view: View }) => {
views.length > 1 ? (
<MenuItem
onClick={handleCloseOthers}
preFix={<MenuIcon icon={<KeepThisOneIcon />} />}
preFix={<MenuIcon icon={<SoloViewIcon />} />}
>
{t['com.affine.workbench.split-view-menu.keep-this-one']()}
</MenuItem>
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/i18n/src/resources/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@
"com.affine.delete-tags.count": "{{count}} tag deleted",
"com.affine.delete-tags.count_one": "{{count}} tag deleted",
"com.affine.delete-tags.count_other": "{{count}} tags deleted",
"com.affine.workbench.split-view-menu.keep-this-one": "Keep this one",
"com.affine.workbench.split-view.page-menu-open": "Split View",
"com.affine.workbench.split-view-menu.keep-this-one": "Solo View",
"com.affine.workbench.split-view.page-menu-open": "Open in split view",
"com.affine.search-tags.placeholder": "Type here ..."
}

0 comments on commit c08a7eb

Please sign in to comment.