diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index eacb31910..3a351ac10 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -280,7 +280,7 @@ class MainActivity : SimpleActivity(), NavigationListener { val holidays = getString(R.string.holidays) var eventTypeId = dbHelper.getEventTypeIdWithTitle(holidays) if (eventTypeId == -1) { - val eventType = EventType(0, holidays, config.primaryColor) + val eventType = EventType(0, holidays, resources.getColor(R.color.default_holidays_color)) eventTypeId = dbHelper.insertEventType(eventType) } val result = IcsImporter().importEvents(this, it as String, eventTypeId) diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 249d793b8..7426d50a5 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -4,4 +4,5 @@ #66808080 #FFF62F2F #FF303DF6 + #FF64DD17