From dcad57a58080072af586be0edd0eea434cf476d9 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sun, 28 Jun 2026 03:23:19 +0800
Subject: [PATCH] Record App Store upload handoff for 8.1.6
---
src/Scripts/theme_settings_qa.sh | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/Scripts/theme_settings_qa.sh b/src/Scripts/theme_settings_qa.sh
index 868816d..bbc5896 100755
--- a/src/Scripts/theme_settings_qa.sh
+++ b/src/Scripts/theme_settings_qa.sh
@@ -83,7 +83,14 @@
raise SystemExit(f"AppGridTheme missing edit-mode contrast tokens: {missing_tokens}")
if "private var renderedAppGridTheme: AppGridTheme" not in content_source:
raise SystemExit("ContentView is missing the runtime theme override")
-if "editPhase == .none ? appGridTheme : .defaultLight" not in content_source:
+if not re.search(
+ r"private\s+var\s+renderedAppGridTheme\s*:\s*AppGridTheme\s*\{.*?"
+ r"editPhase\s*==\s*\.none.*?"
+ r"ProEntitlementPolicy\.effectiveTheme\(for:\s*appGridTheme\).*?"
+ r":\s*\.defaultLight",
+ content_source,
+ re.S,
+):
raise SystemExit("edit mode must temporarily render with the default light AppGrid theme")
if "let theme = renderedAppGridTheme" not in content_source:
raise SystemExit("AppGrid background does not use the runtime rendered theme")
--
Gitblit v1.9.3