show an instant notification at event saving only if it isnt repeatable

This commit is contained in:
tibbi 2018-01-10 14:44:49 +01:00
parent 8229735f63
commit 2c7a722d67
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ class EventActivity : SimpleActivity() {
if (mEvent.id == 0) {
dbHelper.insert(mEvent, true) {
if (DateTime.now().isAfter(mEventStartDateTime.millis)) {
if (mEvent.getReminders().isNotEmpty()) {
if (mEvent.repeatInterval == 0 && mEvent.getReminders().isNotEmpty()) {
notifyEvent(mEvent)
}
} else {