mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3628 Chat | Push ui update (#2423)
This commit is contained in:
parent
ac282e7b73
commit
a3c2ded498
1 changed files with 5 additions and 4 deletions
|
@ -103,10 +103,11 @@ class AnytypePushService : FirebaseMessagingService() {
|
|||
|
||||
// Build the notification
|
||||
val notification = NotificationCompat.Builder(this, CHANNEL_ID)
|
||||
.setSmallIcon(R.drawable.ic_app_notification)
|
||||
.setContentTitle(message.senderName)
|
||||
.setContentText(message.text)
|
||||
.setStyle(NotificationCompat.BigTextStyle().bigText(message.text))
|
||||
//.setSmallIcon(R.drawable.ic_push_icon)
|
||||
.setContentTitle(message.spaceName.trim())
|
||||
.setSubText(message.senderName.trim())
|
||||
.setContentText(message.text.trim())
|
||||
.setStyle(NotificationCompat.BigTextStyle().bigText(message.text.trim()))
|
||||
.setAutoCancel(true)
|
||||
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||
.setContentIntent(pendingIntent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue