Skip to content

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

style: formatting cleanup

Gabriel Stein4d4aa93caff2
diff --git a/src/assets/fonts/noto-sans.css b/src/assets/fonts/noto-sans.css
index 19c104bcc..87d727b3f 100644
--- a/src/assets/fonts/noto-sans.css
+++ b/src/assets/fonts/noto-sans.css
@@ -2,44 +2,54 @@
/* latin-ext — normal */
@font-face {
- font-family: 'Noto Sans';
+ font-family: "Noto Sans";
font-style: normal;
font-weight: 300 700;
font-stretch: 100%;
font-display: swap;
- src: url('./NotoSans-normal-latin-ext.woff2') format('woff2');
- unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: url("./NotoSans-normal-latin-ext.woff2") format("woff2");
+ unicode-range:
+ U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
+ U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
+ U+A720-A7FF;
}
/* latin — normal */
@font-face {
- font-family: 'Noto Sans';
+ font-family: "Noto Sans";
font-style: normal;
font-weight: 300 700;
font-stretch: 100%;
font-display: swap;
- src: url('./NotoSans-normal-latin.woff2') format('woff2');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+ src: url("./NotoSans-normal-latin.woff2") format("woff2");
+ unicode-range:
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
+ U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext — italic */
@font-face {
- font-family: 'Noto Sans';
+ font-family: "Noto Sans";
font-style: italic;
font-weight: 300 700;
font-stretch: 100%;
font-display: swap;
- src: url('./NotoSans-italic-latin-ext.woff2') format('woff2');
- unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: url("./NotoSans-italic-latin-ext.woff2") format("woff2");
+ unicode-range:
+ U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
+ U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
+ U+A720-A7FF;
}
/* latin — italic */
@font-face {
- font-family: 'Noto Sans';
+ font-family: "Noto Sans";
font-style: italic;
font-weight: 300 700;
font-stretch: 100%;
font-display: swap;
- src: url('./NotoSans-italic-latin.woff2') format('woff2');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+ src: url("./NotoSans-italic-latin.woff2") format("woff2");
+ unicode-range:
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
+ U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
diff --git a/src/components/UsageDisplay.tsx b/src/components/UsageDisplay.tsx
index 944222d8d..3186d0825 100644
--- a/src/components/UsageDisplay.tsx
+++ b/src/components/UsageDisplay.tsx
@@ -41,7 +41,9 @@ export default function UsageDisplay() {
{t("usage.trial", { days: usage.trialDaysLeft, count: usage.trialDaysLeft })}
</Badge>
) : (
- <Badge variant="success">{usage.plan === "business" ? t("usage.business") : t("usage.pro")}</Badge>
+ <Badge variant="success">
+ {usage.plan === "business" ? t("usage.business") : t("usage.pro")}
+ </Badge>
)}
</div>
<p className="text-sm text-muted-foreground">
diff --git a/src/helpers/whisperCudaManager.js b/src/helpers/whisperCudaManager.js
index 6de9ab8f4..187c28b7e 100644
--- a/src/helpers/whisperCudaManager.js
+++ b/src/helpers/whisperCudaManager.js
@@ -183,7 +183,8 @@ class WhisperCudaManager {
this._downloading = false;
this._downloadSignal = null;
if (zipPath) await fsPromises.unlink(zipPath).catch(() => {});
- if (extractDir) await fsPromises.rm(extractDir, { recursive: true, force: true }).catch(() => {});
+ if (extractDir)
+ await fsPromises.rm(extractDir, { recursive: true, force: true }).catch(() => {});
}
}
diff --git a/src/stores/settingsStore.ts b/src/stores/settingsStore.ts
index 9e8224d1b..5c043ce8e 100644
--- a/src/stores/settingsStore.ts
+++ b/src/stores/settingsStore.ts
@@ -416,8 +416,7 @@ export const useSettingsStore = create<SettingsState>()((set, get) => ({
setActivationMode: (mode: "tap" | "push") => {
// Linux has no native key listener for push-to-talk — force tap
- const effective =
- isBrowser && window.electronAPI?.getPlatform?.() === "linux" ? "tap" : mode;
+ const effective = isBrowser && window.electronAPI?.getPlatform?.() === "linux" ? "tap" : mode;
if (isBrowser) localStorage.setItem("activationMode", effective);
set({ activationMode: effective });
if (isBrowser) {