modify language select style

This commit is contained in:
MaysWind
2025-03-07 01:47:27 +08:00
parent 47f70098df
commit beeeb1c059
25 changed files with 250 additions and 251 deletions
-6
View File
@@ -38,11 +38,6 @@ export function useUnlockPageBase() {
return !!pinCode && pinCode.length === 6;
}
function changeLanguage(locale: string): void {
const localeDefaultSettings = setLanguage(locale);
settingsStore.updateLocalizedDefaultSettings(localeDefaultSettings);
}
function doAfterUnlocked(): void {
transactionsStore.initTransactionDraft();
tokensStore.refreshTokenAndRevokeOldToken().then(response => {
@@ -82,7 +77,6 @@ export function useUnlockPageBase() {
isWebAuthnAvailable,
// methods
isPinCodeValid,
changeLanguage,
doAfterUnlocked,
doRelogin
};