mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-31 13:48:20 +01:00
[UI/Event] Fix stuff because i'm dumb
This commit is contained in:
parent
9bc7f9ac11
commit
fc3b6fd1e0
@ -88,12 +88,11 @@ class EventManualV2Dialog(
|
|||||||
show()
|
show()
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultType?.let {
|
|
||||||
event.type = it
|
|
||||||
}
|
|
||||||
|
|
||||||
event = editingEvent?.clone() ?: Event().also { event ->
|
event = editingEvent?.clone() ?: Event().also { event ->
|
||||||
event.profileId = profileId
|
event.profileId = profileId
|
||||||
|
defaultType?.let {
|
||||||
|
event.type = it
|
||||||
|
}
|
||||||
b.shareSwitch.isChecked = event.sharedBy != null
|
b.shareSwitch.isChecked = event.sharedBy != null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user