Skip to content

Commit

Permalink
Move variable to the branch where it start being used
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Jan 26, 2024
1 parent f374eff commit a020d86
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ class CalendarEventResponse : EmbeddedRealmObject {
private var _attachmentEventMethod: String? = null
//endregion

val attachmentEventMethod: AttachmentEventMethod?
get() = Utils.enumValueOfOrNull<AttachmentEventMethod>(_attachmentEventMethod)

val calendarEvent get() = userStoredEvent ?: attachmentEvent

fun hasUserStoredEvent() = userStoredEvent != null
Expand Down

0 comments on commit a020d86

Please sign in to comment.