Skip to content

Commit

Permalink
removed deprecated func
Browse files Browse the repository at this point in the history
  • Loading branch information
kvyatkovskys committed Oct 4, 2024
1 parent 0adc53f commit e719340
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/KVKCalendar/CalendarModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -594,11 +594,9 @@ public extension CalendarDelegate {

func didChangeEvent(_ event: Event, start: Date?, end: Date?) {}

func willAddNewEvent(_ event: Event, _ date: Date?) -> Bool { true }
func willAddNewEvent(_ event: Event, _ date: Date?) -> Bool { false }

func willAddNewEvent(_ event: Event, _ date: Date?) -> Event? {
return willAddNewEvent(event, date) ? event : nil
}
func willAddNewEvent(_ event: Event, _ date: Date?) -> Event? { nil }

func didAddNewEvent(_ event: Event, _ date: Date?) {}

Expand Down

0 comments on commit e719340

Please sign in to comment.