mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
show an instant notification at event saving only if it isnt repeatable
This commit is contained in:
parent
8229735f63
commit
2c7a722d67
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user