From 52c22e2a98677a87fed040b17cfe9a47a0b94791 Mon Sep 17 00:00:00 2001 From: darthpaul Date: Thu, 30 Sep 2021 16:36:07 +0100 Subject: [PATCH] remove @Ignore from color field --- .../com/simplemobiletools/calendar/pro/models/Event.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/models/Event.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/models/Event.kt index 9a71f492c..3fa39b49d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/models/Event.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/models/Event.kt @@ -1,7 +1,10 @@ package com.simplemobiletools.calendar.pro.models import androidx.collection.LongSparseArray -import androidx.room.* +import androidx.room.ColumnInfo +import androidx.room.Entity +import androidx.room.Index +import androidx.room.PrimaryKey import com.simplemobiletools.calendar.pro.extensions.seconds import com.simplemobiletools.calendar.pro.helpers.* import com.simplemobiletools.commons.extensions.addBitIf @@ -36,7 +39,6 @@ data class Event( @ColumnInfo(name = "last_updated") var lastUpdated: Long = 0L, @ColumnInfo(name = "source") var source: String = SOURCE_SIMPLE_CALENDAR, @ColumnInfo(name = "availability") var availability: Int = 0, - @Ignore var color: Int = 0, ) : Serializable {