Merge pull request #1394 from tanvir-ahmod/fix_1387

Fix #1387, Change title to "New Event" after using event duplication
This commit is contained in:
Tibor Kaputa
2021-07-05 23:06:42 +02:00
committed by GitHub

View File

@@ -145,6 +145,7 @@ class EventActivity : SimpleActivity() {
if (intent.getBooleanExtra(IS_DUPLICATE_INTENT, false)) { if (intent.getBooleanExtra(IS_DUPLICATE_INTENT, false)) {
mEvent.id = null mEvent.id = null
updateActionBarTitle(getString(R.string.new_event))
} else { } else {
cancelNotification(mEvent.id!!) cancelNotification(mEvent.id!!)
} }