fix default color in color picker of CalDAV event type
This commit is contained in:
parent
566039fa1c
commit
41b948d134
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue