diff --git a/plugins/hardcover/patch.py b/plugins/hardcover/patch.py index b29755d..0f038bf 100644 --- a/plugins/hardcover/patch.py +++ b/plugins/hardcover/patch.py @@ -326,7 +326,7 @@ def patch_settings_cpp(repo_dir): content = content.replace(old_lambda, new_lambda) # ---- Value text: "Sync" for the HardcoverSync action row --------------- - if '"Sync"' not in content: + if 'SettingAction::HardcoverSync) {\n valueText = "Sync"' not in content: content = content.replace( ' if (setting.type == SettingType::TOGGLE && setting.valuePtr != nullptr) {', ' if (setting.type == SettingType::ACTION &&\n'