ref: hide all html tags by default

This commit is contained in:
relikd
2025-11-28 13:05:03 +01:00
parent 5cd7034fc8
commit 71d1b35aac
7 changed files with 13 additions and 11 deletions

View File

@@ -23,11 +23,7 @@ extension PreviewGenerator {
}
/// Process info stored in `Info.plist`
mutating func procAppInfo(_ appPlist: PlistDict?, isOSX: Bool) {
guard let appPlist else {
self.apply(["AppInfoHidden": CLASS_HIDDEN])
return
}
mutating func procAppInfoApple(_ appPlist: PlistDict, isOSX: Bool) {
let minVersion = appPlist[isOSX ? "LSMinimumSystemVersion" : "MinimumOSVersion"] as? String ?? ""
let extensionType = (appPlist["NSExtension"] as? PlistDict)?["NSExtensionPointIdentifier"] as? String