Skip to content

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

fix: use backend effective default hotkey in onboarding wizard

Gabriel Steinb63810b5aac9
diff --git a/src/components/OnboardingFlow.tsx b/src/components/OnboardingFlow.tsx
index 39071382f..f9e64cbc9 100644
--- a/src/components/OnboardingFlow.tsx
+++ b/src/components/OnboardingFlow.tsx
@@ -219,8 +219,9 @@ export default function OnboardingFlow({ onComplete }: OnboardingFlowProps) {
return;
}
- // Get platform-appropriate default hotkey
- const defaultHotkey = getDefaultHotkey();
+ // Get platform-appropriate default hotkey from backend (accounts for
+ // X11 modifier-only and GNOME gsettings limitations)
+ const defaultHotkey = await window.electronAPI?.getEffectiveDefaultHotkey?.() || getDefaultHotkey();
const platform = window.electronAPI?.getPlatform?.() ?? "darwin";
// Only auto-register if no hotkey is currently set