From 0001bc60a90e22d9d4ea3b472254308e5edf4c4b Mon Sep 17 00:00:00 2001
From: fullex <106392080+0xfullex@users.noreply.github.com>
Date: Wed, 25 Jun 2025 19:59:47 +0800
Subject: [PATCH] refactor: rename isWindows to isWin for consistency across
main/renderer (#7530)
refactor: rename isWindows to isWin for consistency across components
---
.../src/components/MinApp/MinappPopupContainer.tsx | 6 +++---
src/renderer/src/components/app/Navbar.tsx | 6 +++---
src/renderer/src/config/constant.ts | 2 +-
src/renderer/src/hooks/useFullScreenNotice.ts | 4 ++--
src/renderer/src/hooks/useShortcuts.ts | 4 ++--
.../pages/settings/MCPSettings/McpSettingsNavbar.tsx | 4 ++--
.../SelectionAssistantSettings.tsx | 10 +++++-----
src/renderer/src/pages/settings/ShortcutSettings.tsx | 6 +++---
src/renderer/src/utils/export.ts | 4 ++--
src/renderer/src/utils/input.ts | 4 ++--
10 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/src/renderer/src/components/MinApp/MinappPopupContainer.tsx b/src/renderer/src/components/MinApp/MinappPopupContainer.tsx
index bd360c8a30..f9a4ee7e1e 100644
--- a/src/renderer/src/components/MinApp/MinappPopupContainer.tsx
+++ b/src/renderer/src/components/MinApp/MinappPopupContainer.tsx
@@ -10,7 +10,7 @@ import {
PushpinOutlined,
ReloadOutlined
} from '@ant-design/icons'
-import { isLinux, isMac, isWindows } from '@renderer/config/constant'
+import { isLinux, isMac, isWin } from '@renderer/config/constant'
import { DEFAULT_MIN_APPS } from '@renderer/config/minapps'
import { useBridge } from '@renderer/hooks/useBridge'
import { useMinappPopup } from '@renderer/hooks/useMinappPopup'
@@ -303,7 +303,7 @@ const MinappPopupContainer: React.FC = () => {
)}
-
+