Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(main-window): show help entry point on all platforms

Richie McIlroyf73e3f594cfc
diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
index 573a7cf91..03d7cc274 100644
--- a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
@@ -14,7 +14,6 @@ import {
} from "@tauri-apps/api/webviewWindow";
import { getCurrentWindow, LogicalSize } from "@tauri-apps/api/window";
import * as dialog from "@tauri-apps/plugin-dialog";
-import { type as ostype } from "@tauri-apps/plugin-os";
import * as shell from "@tauri-apps/plugin-shell";
import * as updater from "@tauri-apps/plugin-updater";
import { cx } from "cva";
@@ -1705,9 +1704,7 @@ function Page() {
class="flex flex-1 gap-1 items-center mx-2 min-w-0"
data-tauri-drag-region
>
- <Show when={ostype() === "macos"}>
- <MainWindowHelpButton />
- </Show>
+ <MainWindowHelpButton />
<div class="flex-1 min-h-9 min-w-0" data-tauri-drag-region />
<div class="flex gap-1 items-center shrink-0" data-tauri-drag-region>
<Tooltip content={<span>Settings</span>}>
@@ -1773,9 +1770,6 @@ function Page() {
</button>
)}
</div>
- <Show when={ostype() !== "macos"}>
- <MainWindowHelpButton />
- </Show>
</div>
</WindowChromeHeader>
<Show when={!activeMenu()}>