Skip to content

Commit

Permalink
Fix incorrect null check
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaFox161 committed Nov 20, 2024
1 parent 7c18d2c commit 8b9c33f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class GoogleCalendarProviderService(
description = baseEvent.description.orEmpty(),
location = baseEvent.location.orEmpty(),
link = baseEvent.htmlLink.orEmpty(),
color = if (baseEvent.colorId.isNullOrBlank()) {
color = if (!baseEvent.colorId.isNullOrBlank()) {
EventColor.fromNameOrHexOrId(baseEvent.colorId)
} else EventColor.NONE,
start = if (baseEvent.start.dateTime != null) {
Expand Down

0 comments on commit 8b9c33f

Please sign in to comment.