mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-03-02 10:27:45 +01:00
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() {
|
||||
ColorPickerDialog(activity, activity.config.primaryColor) { wasPositivePressed, color ->
|
||||
ColorPickerDialog(activity, eventType.color) { wasPositivePressed, color ->
|
||||
if (wasPositivePressed) {
|
||||
callback(color)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user