minor code style update

This commit is contained in:
tibbi 2018-07-04 15:00:25 +02:00
parent 0ff1457aee
commit 6b1b7094e5
1 changed files with 3 additions and 3 deletions

View File

@ -620,9 +620,9 @@ class EventActivity : SimpleActivity() {
}
val reminders = sortedSetOf(mReminder1Minutes, mReminder2Minutes, mReminder3Minutes).filter { it != REMINDER_OFF }
val reminder1 = reminders.getOrElse(0, { REMINDER_OFF })
val reminder2 = reminders.getOrElse(1, { REMINDER_OFF })
val reminder3 = reminders.getOrElse(2, { REMINDER_OFF })
val reminder1 = reminders.getOrElse(0) { REMINDER_OFF }
val reminder2 = reminders.getOrElse(1) { REMINDER_OFF }
val reminder3 = reminders.getOrElse(2) { REMINDER_OFF }
config.apply {
defaultReminderMinutes = reminder1