Added an expandable notification (#723)

This commit is contained in:
Agnieszka C 2022-01-11 19:07:43 +01:00
parent 7055bef9d7
commit 4c32c11a3e

View file

@ -300,6 +300,7 @@ fun Context.getNotification(pendingIntent: PendingIntent, event: Event, content:
.setContentTitle(contentTitle)
.setContentText(contentText)
.setSmallIcon(R.drawable.ic_calendar_vector)
.setStyle(NotificationCompat.BigTextStyle().bigText(contentText))
.setContentIntent(pendingIntent)
.setPriority(NotificationCompat.PRIORITY_MAX)
.setDefaults(Notification.DEFAULT_LIGHTS)