55
55
delegate: DiaryView {
57
if (index == intern.currentIndex) return intern.currentDayStart
58
var previousIndex = intern.currentIndex > 0 ? intern.currentIndex - 1 : 2
59
if (index == previousIndex) return intern.currentDayStart.addDays(-1)
60
return intern.currentDayStart.addDays(1)
62
width: eventView.width
63
height: eventView.height