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
1 changed files with 1 additions and 1 deletions

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)
}