fix default color in color picker of CalDAV event type
This commit is contained in:
parent
566039fa1c
commit
41b948d134
|
@ -68,7 +68,7 @@ class SelectEventTypeColorDialog(val activity: Activity, val eventType: EventTyp
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun showCustomColorPicker() {
|
private fun showCustomColorPicker() {
|
||||||
ColorPickerDialog(activity, activity.config.primaryColor) { wasPositivePressed, color ->
|
ColorPickerDialog(activity, eventType.color) { wasPositivePressed, color ->
|
||||||
if (wasPositivePressed) {
|
if (wasPositivePressed) {
|
||||||
callback(color)
|
callback(color)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue