Skip to content

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

326 B
Raw Blame
import type { UserConfig } from '@/types';

// Usage Analytics defaults to on once the saved config has loaded. Before that
// the preference is unknown, so callers fail closed.
export function isUsageAnalyticsAllowed(config: UserConfig | null): boolean {
  return config !== null && (config.usageAnalyticsEnabled ?? true);
}