1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-3293 Notification | Fix | Misc. fixes (#2079)

This commit is contained in:
Evgenii Kozlov 2025-02-10 13:29:05 +01:00 committed by Evgenii Kozlov
parent cf36b0b1a1
commit 258b705c79

View file

@ -83,13 +83,14 @@ class AnytypeNotificationService @Inject constructor(
)
}
is NotificationPayload.ParticipantRemove -> {
val placeholder = context.resources.getString(R.string.untitled)
val body = context.resources.getString(
R.string.multiplayer_notification_member_removed_from_space,
payload.spaceName
payload.spaceName.ifEmpty { placeholder }
)
val title = context.resources.getString(
R.string.multiplayer_notification_member_removed_from_space_title,
payload.spaceName
payload.spaceName.ifEmpty { placeholder }
)
showBasicNotification(
tag = notification.id,