fix setting No Reminder at events

This commit is contained in:
tibbi 2018-03-26 10:44:45 +02:00
parent d12949fb2c
commit ea345169fa
2 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.16.16'
implementation 'com.simplemobiletools:commons:3.16.17'
implementation 'joda-time:joda-time:2.9.9'
implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'com.android.support:multidex:1.0.3'

View file

@ -175,21 +175,21 @@ class EventActivity : SimpleActivity() {
private fun showReminder1Dialog() {
showPickSecondsDialog(mReminder1Minutes * 60) {
mReminder1Minutes = it / 60
mReminder1Minutes = if (it <= 0) it else it / 60
checkReminderTexts()
}
}
private fun showReminder2Dialog() {
showPickSecondsDialog(mReminder2Minutes * 60) {
mReminder2Minutes = it / 60
mReminder2Minutes = if (it <= 0) it else it / 60
checkReminderTexts()
}
}
private fun showReminder3Dialog() {
showPickSecondsDialog(mReminder3Minutes * 60) {
mReminder3Minutes = it / 60
mReminder3Minutes = if (it <= 0) it else it / 60
checkReminderTexts()
}
}