mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
add show album / album artist context menu items (#1105)
This commit is contained in:
parent
2cf0027419
commit
40fb5ba916
6 changed files with 61 additions and 8 deletions
|
|
@ -6,6 +6,7 @@ import { useNavigate } from 'react-router';
|
|||
|
||||
import styles from './default-layout.module.css';
|
||||
|
||||
import { ContextMenuProvider } from '/@/renderer/features/context-menu';
|
||||
import { CommandPalette } from '/@/renderer/features/search/components/command-palette';
|
||||
import { MainContent } from '/@/renderer/layouts/default-layout/main-content';
|
||||
import { PlayerBar } from '/@/renderer/layouts/default-layout/player-bar';
|
||||
|
|
@ -73,7 +74,7 @@ export const DefaultLayout = ({ shell }: DefaultLayoutProps) => {
|
|||
]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<ContextMenuProvider>
|
||||
<div
|
||||
className={clsx(styles.layout, {
|
||||
[styles.macos]: windowBarStyle === Platform.MACOS,
|
||||
|
|
@ -86,6 +87,6 @@ export const DefaultLayout = ({ shell }: DefaultLayoutProps) => {
|
|||
<PlayerBar />
|
||||
</div>
|
||||
<CommandPalette modalProps={{ handlers, opened }} />
|
||||
</>
|
||||
</ContextMenuProvider>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue