Fix duplicate function declaration in SettingsView
Removed duplicate handleShowNetworkFoldersChange function that was causing compilation error.
This commit is contained in:
1 parent
4876293ec2
commit
44783f4f6f
1 file changed
-8
@@ -727,14 +727,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handleShowNetworkFoldersChange(enabled: boolean) {
|
|
||||||
try {
|
|
||||||
await setShowNetworkFoldersInManualOffline(enabled);
|
|
||||||
} catch (error) {
|
|
||||||
console.error('Failed to set show network folders in manual offline:', error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
async function handleLanguageChange(lang: string) {
|
async function handleLanguageChange(lang: string) {
|
||||||
language = lang;
|
language = lang;
|
||||||
const localeCode = languageToLocale[lang];
|
const localeCode = languageToLocale[lang];
|
||||||
|
|||||||
Reference in new issue
Block a user