From 6ecd48b14c3500cab287094fb82a6dd197067bb4 Mon Sep 17 00:00:00 2001 From: tanvir-ahmod Date: Sun, 13 Jun 2021 10:49:26 +0600 Subject: [PATCH] Fix #1387, Change title to "New Event" after using event duplication --- .../simplemobiletools/calendar/pro/activities/EventActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt index 150627c84..890f4941b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt @@ -145,6 +145,7 @@ class EventActivity : SimpleActivity() { if (intent.getBooleanExtra(IS_DUPLICATE_INTENT, false)) { mEvent.id = null + updateActionBarTitle(getString(R.string.new_event)) } else { cancelNotification(mEvent.id!!) }