1
0
Fork 0
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:
Konstantin Ivanov 2025-05-21 14:13:47 +02:00 committed by GitHub
parent ac282e7b73
commit a3c2ded498
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -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)