Merge pull request #1615 from Aga-C/add-expandable-notification
Added an expandable notification (#723)
This commit is contained in:
commit
876a327826
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue