mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
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:
@@ -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!!)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user