Fix: Update method to retrieve Koodo sync configuration in SyncSetting component

This commit is contained in:
troyeguo
2025-11-23 17:46:47 +08:00
parent 44c8fb2462
commit 29f12a10a0
4 changed files with 4 additions and 4 deletions

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

@@ -149,7 +149,7 @@ class SyncSetting extends React.Component<SettingInfoProps, SettingInfoState> {
return;
}
ConfigService.setItem("defaultSyncOption", event.target.value);
if (ConfigService.getItem("isEnableKoodoSync") === "yes") {
if (ConfigService.getReaderConfig("isEnableKoodoSync") === "yes") {
updateUserConfig({
default_sync_option: event.target.value,
});