mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
Added an expandable notification (#723)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user