Skip to content

Commit

Permalink
Unifiedpush: Add default notification if none
Browse files Browse the repository at this point in the history
Avoid a crash
  • Loading branch information
p1gp1g committed Sep 14, 2021
1 parent c037b2b commit 4c4bffd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import timber.log.Timber

@JsonClass(generateAdapter = true)
data class UnifiedPushMessage(
val notification: Notification
val notification: Notification = Notification()
)

@JsonClass(generateAdapter = true)
Expand Down

0 comments on commit 4c4bffd

Please sign in to comment.