fixing-layout #3

Merged
andrie merged 8 commits from fixing-layout into main 2026-06-05 01:43:58 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit fd477e4c22 - Show all commits
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -5,7 +5,7 @@ const KIT_STORAGE_KEY = 'if_untan_lang';
function readKitLang(): Lang {
const saved = localStorage.getItem(KIT_STORAGE_KEY);
if (saved === 'en') return 'en';
if (saved === 'id' || saved === 'en') return saved;
const browser = (navigator.language || 'id').toLowerCase();
return browser.startsWith('en') ? 'en' : 'id';
}