From b2a51825e251de1f545be15b943d99a61962d3d6 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Sun, 8 Mar 2020 21:35:23 +0100 Subject: [PATCH] Add big text to sync result notification --- app/src/main/java/com/readrops/app/utils/SyncWorker.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/readrops/app/utils/SyncWorker.kt b/app/src/main/java/com/readrops/app/utils/SyncWorker.kt index 03b5c39c..8982eaba 100644 --- a/app/src/main/java/com/readrops/app/utils/SyncWorker.kt +++ b/app/src/main/java/com/readrops/app/utils/SyncWorker.kt @@ -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)