Open rakuyoMo opened 1 month ago
https://github.com/kvyatkovskys/KVKCalendar/blob/f555bbd06039449a29e45af1194cbe00b025f5bb/Sources/KVKCalendar/DayView.swift#L242-L243
The beginning of this method removes all subviews.
https://github.com/kvyatkovskys/KVKCalendar/blob/f555bbd06039449a29e45af1194cbe00b025f5bb/Sources/KVKCalendar/DayView.swift#L295-L298
But if reload is false, only timelinePage is added back, and topBackgroundView is lost.
reload
false
timelinePage
topBackgroundView
Is this intentional? Or am I using it wrong?
Additional note: You can see this problem if you call updateStyle(_:) and pass it a Style that haven’t modified.
updateStyle(_:)
Style
@rakuyoMo Thank you for the issue I'll check this
https://github.com/kvyatkovskys/KVKCalendar/blob/f555bbd06039449a29e45af1194cbe00b025f5bb/Sources/KVKCalendar/DayView.swift#L242-L243
The beginning of this method removes all subviews.
https://github.com/kvyatkovskys/KVKCalendar/blob/f555bbd06039449a29e45af1194cbe00b025f5bb/Sources/KVKCalendar/DayView.swift#L295-L298
But if
reload
isfalse
, onlytimelinePage
is added back, andtopBackgroundView
is lost.Is this intentional? Or am I using it wrong?