avoids cutting the first paragraph of notifcations

This commit is contained in:
Vitor Pamplona
2023-05-10 14:03:05 -04:00
parent 434c1e9af3
commit 8fcd05a6bb

View File

@@ -75,7 +75,7 @@ class EventNotificationConsumer(private val applicationContext: Context) {
} }
val zappedContent = val zappedContent =
noteZapped?.let { it1 -> acc.decryptContent(it1)?.split("\n")?.get(0)?.take(50) } noteZapped?.let { it1 -> acc.decryptContent(it1)?.split("\n")?.get(0) }
val user = senderInfo?.first?.toBestDisplayName() ?: "" val user = senderInfo?.first?.toBestDisplayName() ?: ""
var title = applicationContext.getString(R.string.app_notification_zaps_channel_message, amount) var title = applicationContext.getString(R.string.app_notification_zaps_channel_message, amount)