mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
pass a copy of the eventType to UpdateEventTypeDialog
This commit is contained in:
@@ -25,7 +25,7 @@ class ManageEventTypesActivity : SimpleActivity(), DeleteEventTypesListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun showEventTypeDialog(eventType: EventType? = null) {
|
private fun showEventTypeDialog(eventType: EventType? = null) {
|
||||||
UpdateEventTypeDialog(this, eventType) {
|
UpdateEventTypeDialog(this, eventType!!.copy()) {
|
||||||
getEventTypes()
|
getEventTypes()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user