Skip to content

Commit

Permalink
Fix tvOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed May 19, 2024
1 parent 50ad470 commit d8318da
Show file tree
Hide file tree
Showing 20 changed files with 1,542 additions and 1,481 deletions.
352 changes: 178 additions & 174 deletions Sources/OversizeCalendarService/CalendarService.swift

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
// EKCalendarExtension.swift
//

import EventKit
#if canImport(EventKit)
import EventKit
#endif
import SwiftUI

extension EKCalendar: Identifiable {
public var id: String {
calendarIdentifier
}
#if os(iOS) || os(macOS)
extension EKCalendar: Identifiable {
public var id: String {
calendarIdentifier
}

public var color: Color {
Color(cgColor)
public var color: Color {
Color(cgColor)
}
}
}
#endif
Loading

0 comments on commit d8318da

Please sign in to comment.