fix: show the Bulwark shield instead of the stock envelope in the status bar

This commit is contained in:
Linus Rath
2026-09-24 19:09:36 +02:00
parent 8618abf1d7
commit 695aa23563
2 changed files with 31 additions and 2 deletions
@@ -128,7 +128,7 @@ class BulwarkFcmModule(reactContext: ReactApplicationContext)
)
val builder = NotificationCompat.Builder(ctx, BulwarkMessagingService.CHANNEL_ID)
.setSmallIcon(android.R.drawable.ic_dialog_email)
.setSmallIcon(R.drawable.ic_notification)
.setLargeIcon(largeIcon)
.setContentTitle(title)
.setContentText(body)
@@ -181,7 +181,7 @@ class BulwarkFcmModule(reactContext: ReactApplicationContext)
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE,
)
val summary = NotificationCompat.Builder(ctx, BulwarkMessagingService.CHANNEL_ID)
.setSmallIcon(android.R.drawable.ic_dialog_email)
.setSmallIcon(R.drawable.ic_notification)
.setContentTitle(groupTitle)
.setContentText(if (count == 1) "1 new message" else "$count new messages")
.setStyle(inbox)