fix default color in color picker of CalDAV event type

This commit is contained in:
Kazuhiro Ito 2021-03-21 21:05:45 +09:00
parent 566039fa1c
commit 41b948d134

View file

@ -68,7 +68,7 @@ class SelectEventTypeColorDialog(val activity: Activity, val eventType: EventTyp
}
private fun showCustomColorPicker() {
ColorPickerDialog(activity, activity.config.primaryColor) { wasPositivePressed, color ->
ColorPickerDialog(activity, eventType.color) { wasPositivePressed, color ->
if (wasPositivePressed) {
callback(color)
}