mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-07-17 09:57:26 +02:00
restore settings redirect
This commit is contained in:
@@ -490,9 +490,7 @@ export function SettingsDialog({
|
||||
}
|
||||
|
||||
setOriginalSettings(settingsToSave);
|
||||
if (!subPage) {
|
||||
onClose();
|
||||
}
|
||||
onClose();
|
||||
} catch (error) {
|
||||
console.error("Failed to save settings:", error);
|
||||
} finally {
|
||||
@@ -500,7 +498,6 @@ export function SettingsDialog({
|
||||
}
|
||||
}, [
|
||||
onClose,
|
||||
subPage,
|
||||
setTheme,
|
||||
settings,
|
||||
customThemeState,
|
||||
|
||||
Reference in New Issue
Block a user