🐛 Fix(custom): fix the picbeds list doesn't change after language change

This commit is contained in:
Kuingsmile
2026-01-12 11:59:05 +08:00
parent 2443f56562
commit a57afd4161
2 changed files with 825 additions and 825 deletions

View File

@@ -2425,7 +2425,7 @@ function handleLanguageChange(val: string) {
setCurrentLanguage(val) setCurrentLanguage(val)
saveConfig({ [configPaths.settings.language]: val }) saveConfig({ [configPaths.settings.language]: val })
localStorage.setItem('currentLanguage', val) localStorage.setItem('currentLanguage', val)
// updatePicBedGlobal() updatePicBeds()
} }
function handleStartModeChange(val: string) { function handleStartModeChange(val: string) {

View File

@@ -86,7 +86,7 @@ html, body {
font-family: inherit; font-family: inherit;
font-weight: 500; font-weight: 500;
color: white; color: white;
background: var(--color-accent); background: var(--color-blue-common);
transition: var(--transition-fast); transition: var(--transition-fast);
gap: 0.5rem; gap: 0.5rem;
cursor: pointer; cursor: pointer;
@@ -490,11 +490,11 @@ html, body {
.settings-button { .settings-button {
color: white; color: white;
background: var(--color-accent); background: var(--color-blue-common);
} }
.settings-button:hover:not(:disabled) { .settings-button:hover:not(:disabled) {
background: var(--color-accent-hover); background: var(--color-accent);
transform: translateY(-1px); transform: translateY(-1px);
} }