adding a new icon for the notifications
This commit is contained in:
parent
b48f18eaf8
commit
7f2470567d
|
@ -82,7 +82,7 @@ class SmsReceiver : BroadcastReceiver() {
|
|||
val builder = NotificationCompat.Builder(context, channelId)
|
||||
.setContentTitle(address)
|
||||
.setContentText(body)
|
||||
.setSmallIcon(R.drawable.ic_launcher_background)
|
||||
.setSmallIcon(R.drawable.ic_messenger)
|
||||
.setLargeIcon(BitmapFactory.decodeResource(context.resources, R.drawable.ic_launcher_background))
|
||||
.setStyle(NotificationCompat.BigTextStyle().setSummaryText(summaryText).bigText(body))
|
||||
.setContentIntent(pendingIntent)
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 566 B |
Binary file not shown.
After Width: | Height: | Size: 390 B |
Binary file not shown.
After Width: | Height: | Size: 666 B |
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue