mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-20 05:30:40 +01: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:
commit
0d0b701ef4
@ -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!!)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user