mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-11 18:10:32 +08:00
🐛 Fix(custom): fix the picbeds list doesn't change after language change
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user