Skip to content

Commit 728aba0

Browse files
gabrielschclaude
andcommitted
fix(mobile): keep Device language selected after later preference saves
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 8b65cb8 commit 728aba0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/mobile/src/persistence/mobile-preferences.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ function sanitizePreferences(parsed: Preferences): Preferences {
312312
: [];
313313
});
314314
}
315-
if (isDictationLocale(parsed.dictationLocale)) {
315+
if (parsed.dictationLocale === null || isDictationLocale(parsed.dictationLocale)) {
316316
preferences.dictationLocale = parsed.dictationLocale;
317317
}
318318
if (typeof parsed.projectGroupingEnabled === "boolean") {

0 commit comments

Comments
 (0)