diff --git a/src/renderer/components/Settings.tsx b/src/renderer/components/Settings.tsx index dcb2a648..8c6e3359 100644 --- a/src/renderer/components/Settings.tsx +++ b/src/renderer/components/Settings.tsx @@ -18,7 +18,7 @@ export default function SettingsUi() { const { autostart } = VesktopNative; const [autoStartEnabled, setAutoStartEnabled] = useState(autostart.isEnabled()); - const switches: [keyof typeof Settings, string, string, boolean?, (() => boolean)?][] = [ + let switches: [keyof typeof Settings, string, string, boolean?, (() => boolean)?][] = [ ["tray", "Tray Icon", "Add a tray icon for Vesktop", true], [ "minimizeToTray", @@ -41,6 +41,10 @@ export default function SettingsUi() { ["staticTitle", "Static Title", 'Makes the window title "Vencord" instead of changing to the current page'] ]; + if (navigator.platform.startsWith("Mac")) { + switches = switches.splice(2); + } + return (