fix(hardcover): patch Sync value text when githubsync is installed first

This commit is contained in:
Justin Oros
2026-04-23 15:13:59 -07:00
parent 2ee7395142
commit b04b1932a6
+1 -1
View File
@@ -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'