adding the app icon in all colors

This commit is contained in:
tibbi 2020-04-05 10:29:16 +02:00
parent a3e89719b1
commit b48f18eaf8
136 changed files with 361 additions and 43 deletions

View file

@ -82,8 +82,8 @@ class SmsReceiver : BroadcastReceiver() {
val builder = NotificationCompat.Builder(context, channelId)
.setContentTitle(address)
.setContentText(body)
.setSmallIcon(R.drawable.ic_launcher_foreground)
.setLargeIcon(BitmapFactory.decodeResource(context.resources, R.drawable.ic_launcher_foreground))
.setSmallIcon(R.drawable.ic_launcher_background)
.setLargeIcon(BitmapFactory.decodeResource(context.resources, R.drawable.ic_launcher_background))
.setStyle(NotificationCompat.BigTextStyle().setSummaryText(summaryText).bigText(body))
.setContentIntent(pendingIntent)
.setPriority(NotificationCompat.PRIORITY_MAX)