minor code formatting
This commit is contained in:
parent
20ce0e6e56
commit
f508d0aaf5
1 changed files with 4 additions and 4 deletions
|
@ -437,8 +437,7 @@ class WeekFragment : Fragment(), WeeklyCalendar {
|
|||
val endDayCode = Formatter.getDayCodeFromDateTime(endDateTime)
|
||||
if (event.getIsAllDay() || ((startDayCode != endDayCode) && config.showMidnightSpanningEventsAtTop)) {
|
||||
addAllDayEvent(event)
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
var currentDateTime = startDateTime
|
||||
var currentDayCode = Formatter.getDayCodeFromDateTime(currentDateTime)
|
||||
do {
|
||||
|
@ -512,6 +511,7 @@ class WeekFragment : Fragment(), WeeklyCalendar {
|
|||
(duration * minuteHeight).toInt() - 1
|
||||
}
|
||||
}
|
||||
|
||||
setOnClickListener {
|
||||
Intent(context, EventActivity::class.java).apply {
|
||||
putExtra(EVENT_ID, event.id!!)
|
||||
|
|
Loading…
Reference in a new issue