mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-22 20:23:44 +08:00
feat: Enhance settings import to support source list merging, improve environment subscription parsing, and add page reload after import.
This commit is contained in:
@@ -146,6 +146,10 @@ export function useSettingsPage() {
|
||||
setSubscriptions(settings.subscriptions || []);
|
||||
setPasswordAccess(settings.passwordAccess);
|
||||
setAccessPasswords(settings.accessPasswords);
|
||||
|
||||
// Reload to apply changes
|
||||
setTimeout(() => window.location.reload(), 1000);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user