removing some empty lines and a useless line
This commit is contained in:
parent
1fe19bd6e4
commit
37c2d0313f
|
@ -124,9 +124,6 @@ class EventActivity : SimpleActivity() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private fun gotEvent(savedInstanceState: Bundle?, localEventType: EventType?, event: Event?) {
|
private fun gotEvent(savedInstanceState: Bundle?, localEventType: EventType?, event: Event?) {
|
||||||
if (localEventType == null || localEventType.caldavCalendarId != 0) {
|
if (localEventType == null || localEventType.caldavCalendarId != 0) {
|
||||||
config.lastUsedLocalEventTypeId = REGULAR_EVENT_TYPE_ID
|
config.lastUsedLocalEventTypeId = REGULAR_EVENT_TYPE_ID
|
||||||
|
@ -244,7 +241,6 @@ class EventActivity : SimpleActivity() {
|
||||||
R.id.delete -> deleteEvent()
|
R.id.delete -> deleteEvent()
|
||||||
R.id.duplicate -> duplicateEvent()
|
R.id.duplicate -> duplicateEvent()
|
||||||
R.id.share -> shareEvent()
|
R.id.share -> shareEvent()
|
||||||
android.R.id.home -> onBackPressed()
|
|
||||||
else -> return super.onOptionsItemSelected(item)
|
else -> return super.onOptionsItemSelected(item)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue