Skip to content

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

398 B
Raw Blame
// Pure resolver for the "auto-learn-changed" IPC sync. Coerces the raw IPC
// value to boolean and reports whether it differs from the current state, so
// the handler can ignore repeated same-value syncs (#1080).
function applyAutoLearnSetting(current, incoming) {
  const enabled = !!incoming;
  return { changed: enabled !== !!current, enabled };
}

module.exports = { applyAutoLearnSetting };