From d76f5d61a7463dee1600d6b40eb85cabfa75a914 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Tue, 07 Jul 2026 12:55:37 +0800
Subject: [PATCH] release: prepare 8.3.6 settings header update
---
C1.source/Scripts/pro_feature_gate_qa.sh | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/C1.source/Scripts/pro_feature_gate_qa.sh b/C1.source/Scripts/pro_feature_gate_qa.sh
index a41712c..c885d74 100755
--- a/C1.source/Scripts/pro_feature_gate_qa.sh
+++ b/C1.source/Scripts/pro_feature_gate_qa.sh
@@ -176,6 +176,10 @@
fail("fixed Pro header must no longer be hidden on Language and About tabs")
require(preferences, "if shouldShowSettingsFixedProHeader", "Settings body must conditionally render the fixed Pro header")
fixed_header_body = function_body(preferences, "private var settingsFixedProHeader: some View")
+if "Color(nsColor: .controlBackgroundColor)" in fixed_header_body:
+ fail("fixed Pro header must not render the removed outer rounded background")
+if ".stroke(Color.secondary.opacity(0.16), lineWidth: 1)" in fixed_header_body:
+ fail("fixed Pro header must not render the removed outer rounded border")
require(fixed_header_body, "if shouldCenterUnlockedIdentityHeader", "fixed Pro header must use the centered unlocked identity branch")
require(fixed_header_body, 'text: tr("pro.status.unlocked")', "centered Pro identity header must start with the Pro unlocked pill")
require(fixed_header_body, "style: .unlocked", "centered Pro identity pill must use the unlocked style")
--
Gitblit v1.9.3