Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmateos committed Jan 11, 2024
1 parent 5575048 commit 9197bc4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ class EventDetailsRepository(
if (scheduleEvents.isNotEmpty()) scheduleDate = scheduleEvents[0].dueDate()

return when {
scheduleDate == null -> activeDate
activeDate == null -> scheduleDate
activeDate.before(scheduleDate) -> scheduleDate
else -> activeDate
scheduleDate == null -> activeDate
activeDate == null -> scheduleDate
activeDate.before(scheduleDate) -> scheduleDate
else -> activeDate
}
}

Expand Down

0 comments on commit 9197bc4

Please sign in to comment.