Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

refactor: simplify window frame config for all platforms

Gabriel Stein725327b84e95
diff --git a/src/helpers/windowConfig.js b/src/helpers/windowConfig.js
index d71bf76f7..1f2e4fcab 100644
--- a/src/helpers/windowConfig.js
+++ b/src/helpers/windowConfig.js
@@ -42,16 +42,11 @@ const CONTROL_PANEL_CONFIG = {
title: "Control Panel",
resizable: true,
show: false,
- // macOS-specific options
- ...(process.platform === "darwin"
- ? {
- titleBarStyle: "hiddenInset",
- trafficLightPosition: { x: 20, y: 20 },
- frame: false,
- }
- : {
- frame: false,
- }),
+ frame: false,
+ ...(process.platform === "darwin" && {
+ titleBarStyle: "hiddenInset",
+ trafficLightPosition: { x: 20, y: 20 },
+ }),
transparent: false,
backgroundColor: "#ffffff",
minimizable: true,