mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-31 19:05:01 +01:00
Added an expandable notification (#723)
This commit is contained in:
parent
7055bef9d7
commit
4c32c11a3e
@ -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…
x
Reference in New Issue
Block a user