Skip to content

Commit

Permalink
fixed the issue with creating events
Browse files Browse the repository at this point in the history
  • Loading branch information
kvyatkovskys committed Dec 25, 2022
1 parent 2e80c34 commit 8265794
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 31 deletions.
18 changes: 0 additions & 18 deletions Example/KVKCalendar/CustomDayCellXib.swift

This file was deleted.

10 changes: 0 additions & 10 deletions Example/KVKCalendar/CustomDayCellXib.xib

This file was deleted.

2 changes: 0 additions & 2 deletions Example/KVKCalendar/KVKCalendarSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ extension KVKCalendarSettings {
style.event.iconFile = UIImage(systemName: "paperclip")
style.timeline.scrollLineHourMode = .onlyOnInitForDate(defaultDate)
style.timeline.showLineHourMode = .always
style.month.scrollDirection = .horizontal
style.month.isPagingEnabled = true
style.month.autoSelectionDateWhenScrolling = true
style.timeline.useDefaultCorderHeader = true
return style
Expand Down
1 change: 1 addition & 0 deletions Sources/KVKCalendar/DayView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ extension DayView: CalendarSettingProtocol {
guard let self = self else { return }

let newTimeline = self.createTimelineView(frame: self.timelinePage.bounds)
newTimeline.updateStyle(self.style, force: reload)
switch type {
case .next:
self.nextDate()
Expand Down
2 changes: 1 addition & 1 deletion Sources/KVKCalendar/WeekView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ extension WeekView: CalendarSettingProtocol {
guard let self = self else { return }

let newTimeline = self.createTimelineView(frame: self.timelinePage.bounds)

newTimeline.updateStyle(self.style, force: reload)
switch type {
case .next:
self.nextDate()
Expand Down

0 comments on commit 8265794

Please sign in to comment.