Release 1.5.0
- Remove non-functional markPrivate feature and Objective-C runtime hacks - Extract mirror engine into MirrorEngine.swift - Move calLabel to MirrorUtils.swift - Update AGENTS.md architecture documentation - Bump version to 1.5.0 (build 19)
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
import Foundation
|
||||
import EventKit
|
||||
|
||||
// Calendar label helper to disambiguate identical names
|
||||
func calLabel(_ cal: EKCalendar) -> String {
|
||||
let src = cal.source.title
|
||||
return src.isEmpty ? cal.title : "\(cal.title) — \(src)"
|
||||
}
|
||||
|
||||
// Remove our prefix when building titles so it never doubles up
|
||||
func stripPrefix(_ title: String?, prefix: String) -> String {
|
||||
guard let t = title else { return "" }
|
||||
|
||||
Reference in New Issue
Block a user