From f48b16a188cddacdaffac32bf4a4b7b08a9b4fa2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 13 Mar 2019 19:35:17 +0100 Subject: [PATCH] replacing some magic numbers with constants --- .../calendar/pro/activities/EventActivity.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt index ec1c935a9..2f840cc3c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt @@ -56,9 +56,9 @@ class EventActivity : SimpleActivity() { private val EVENT_TYPE_ID = "EVENT_TYPE_ID" private val EVENT_CALENDAR_ID = "EVENT_CALENDAR_ID" - private var mReminder1Minutes = 0 - private var mReminder2Minutes = 0 - private var mReminder3Minutes = 0 + private var mReminder1Minutes = REMINDER_OFF + private var mReminder2Minutes = REMINDER_OFF + private var mReminder3Minutes = REMINDER_OFF private var mReminder1Type = REMINDER_NOTIFICATION private var mReminder2Type = REMINDER_NOTIFICATION private var mReminder3Type = REMINDER_NOTIFICATION