diff --git a/apps/web/src/app.tsx b/apps/web/src/app.tsx index f20cb124d..a92d395e7 100644 --- a/apps/web/src/app.tsx +++ b/apps/web/src/app.tsx @@ -136,7 +136,7 @@ function DesktopAppContents({ return ( <> - + {IS_DESKTOP_APP ? : null} - {IS_DESKTOP_APP ? ( - getPlatform() === "darwin" && !isFullscreen ? null : ( - - - - ) + {IS_DESKTOP_APP && (getPlatform() !== "darwin" || isFullscreen) ? ( + + + ) : null} {tools.map((tool) => ( diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx index 0670ec1d2..65da3aa90 100644 --- a/apps/web/src/components/editor/index.tsx +++ b/apps/web/src/components/editor/index.tsx @@ -67,6 +67,7 @@ import TableOfContents from "./table-of-contents"; import { showNoteLinkingDialog } from "../../common/dialog-controller"; import { scrollIntoViewById } from "@notesnook/editor"; import { IEditor } from "./types"; +import { EditorActionBar } from "./action-bar"; const PDFPreview = React.lazy(() => import("../pdf-preview")); @@ -90,6 +91,7 @@ export default function TabsView() { return ( <> + {IS_DESKTOP_APP ? null : }