Merge branch 'master' of github.com:SimpleMobileTools/Simple-Calendar

This commit is contained in:
tibbi
2021-03-21 18:58:09 +01:00

View File

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