Rename ic_notification_small to ic_notification
This commit is contained in:
parent
9af7737302
commit
6459e3cabd
5 changed files with 9 additions and 9 deletions
|
|
@ -119,7 +119,7 @@ class DefaultNotificationCreator @Inject constructor(
|
|||
else -> pendingIntentFactory.createOpenRoomPendingIntent(roomInfo.sessionId, roomInfo.roomId)
|
||||
}
|
||||
|
||||
val smallIcon = CommonDrawables.ic_notification_small
|
||||
val smallIcon = CommonDrawables.ic_notification
|
||||
|
||||
val containsMissedCall = events.any { it.type == EventType.CALL_NOTIFY }
|
||||
val channelId = if (containsMissedCall) {
|
||||
|
|
@ -219,7 +219,7 @@ class DefaultNotificationCreator @Inject constructor(
|
|||
override fun createRoomInvitationNotification(
|
||||
inviteNotifiableEvent: InviteNotifiableEvent
|
||||
): Notification {
|
||||
val smallIcon = CommonDrawables.ic_notification_small
|
||||
val smallIcon = CommonDrawables.ic_notification
|
||||
val channelId = notificationChannels.getChannelIdForMessage(inviteNotifiableEvent.noisy)
|
||||
return NotificationCompat.Builder(context, channelId)
|
||||
.setOnlyAlertOnce(true)
|
||||
|
|
@ -261,7 +261,7 @@ class DefaultNotificationCreator @Inject constructor(
|
|||
override fun createSimpleEventNotification(
|
||||
simpleNotifiableEvent: SimpleNotifiableEvent,
|
||||
): Notification {
|
||||
val smallIcon = CommonDrawables.ic_notification_small
|
||||
val smallIcon = CommonDrawables.ic_notification
|
||||
|
||||
val channelId = notificationChannels.getChannelIdForMessage(simpleNotifiableEvent.noisy)
|
||||
return NotificationCompat.Builder(context, channelId)
|
||||
|
|
@ -294,7 +294,7 @@ class DefaultNotificationCreator @Inject constructor(
|
|||
override fun createFallbackNotification(
|
||||
fallbackNotifiableEvent: FallbackNotifiableEvent,
|
||||
): Notification {
|
||||
val smallIcon = CommonDrawables.ic_notification_small
|
||||
val smallIcon = CommonDrawables.ic_notification
|
||||
|
||||
val channelId = notificationChannels.getChannelIdForMessage(false)
|
||||
return NotificationCompat.Builder(context, channelId)
|
||||
|
|
@ -330,7 +330,7 @@ class DefaultNotificationCreator @Inject constructor(
|
|||
noisy: Boolean,
|
||||
lastMessageTimestamp: Long
|
||||
): Notification {
|
||||
val smallIcon = CommonDrawables.ic_notification_small
|
||||
val smallIcon = CommonDrawables.ic_notification
|
||||
val channelId = notificationChannels.getChannelIdForMessage(noisy)
|
||||
return NotificationCompat.Builder(context, channelId)
|
||||
.setOnlyAlertOnce(true)
|
||||
|
|
@ -367,7 +367,7 @@ class DefaultNotificationCreator @Inject constructor(
|
|||
return NotificationCompat.Builder(context, notificationChannels.getChannelIdForTest())
|
||||
.setContentTitle(buildMeta.applicationName)
|
||||
.setContentText(stringProvider.getString(R.string.notification_test_push_notification_content))
|
||||
.setSmallIcon(CommonDrawables.ic_notification_small)
|
||||
.setSmallIcon(CommonDrawables.ic_notification)
|
||||
.setLargeIcon(getBitmap(R.drawable.element_logo_green))
|
||||
.setColor(accentColor)
|
||||
.setPriority(NotificationCompat.PRIORITY_MAX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue