From b5e96d7ead08f1e620d7211ce1da7d834348095f Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Wed, 22 Apr 2026 18:16:31 -0700 Subject: [PATCH] fix(githubsync): handle bookerly-first label lambda anchor when patching SettingsActivity.cpp --- plugins/githubsync/patch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/githubsync/patch.py b/plugins/githubsync/patch.py index b858ac7..95d5f59 100644 --- a/plugins/githubsync/patch.py +++ b/plugins/githubsync/patch.py @@ -219,6 +219,8 @@ def patch_settings_cpp(repo_dir): for first_key_line in [ ' if (s.key && std::string(s.key) == "darkModeState") return "Dark Mode";\n', ' if (s.key && std::string(s.key) == "smallerFontsMode") return "Smaller Fonts";\n', + ' if (s.type == SettingType::ACTION && s.action == SettingAction::BookerlyInstalled) return "Bookerly Plugin";\n', + ' return std::string(I18N.get(settings[index].nameId));\n', ]: if first_key_line in content: content = content.replace(