ref: introduce CLASS_VISIBLE

This commit is contained in:
relikd
2025-11-05 23:29:37 +01:00
parent f38c1f802f
commit d1aae4cc15
5 changed files with 5 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ extension PreviewGenerator {
entitlements.applyFallbackIfNeeded(provisionPlist?["Entitlements"] as? PlistDict)
self.apply([
"EntitlementsWarningHidden": entitlements.hasError ? "" : CLASS_HIDDEN,
"EntitlementsWarningHidden": entitlements.hasError ? CLASS_VISIBLE : CLASS_HIDDEN,
"EntitlementsDict": entitlements.html ?? "No Entitlements",
])
}