mirror of
https://github.com/readrops/Readrops.git
synced 2025-01-23 07:21:52 +01:00
Add big text to sync result notification
This commit is contained in:
parent
70a9dff3ba
commit
b2a51825e2
@ -77,6 +77,7 @@ class SyncWorker(context: Context, parameters: WorkerParameters) : Worker(contex
|
||||
val notificationBuilder = NotificationCompat.Builder(applicationContext, ReadropsApp.SYNC_CHANNEL_ID)
|
||||
.setContentTitle(notifContent.title)
|
||||
.setContentText(notifContent.content)
|
||||
.setStyle(NotificationCompat.BigTextStyle().bigText(notifContent.content))
|
||||
.setSmallIcon(R.drawable.ic_notif)
|
||||
.setContentIntent(PendingIntent.getActivity(applicationContext, 0, intent, 0))
|
||||
.setAutoCancel(true)
|
||||
|
Loading…
Reference in New Issue
Block a user