From 8fcd05a6bb1b9cd27ceebe53adc04f23521142db Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 10 May 2023 14:03:05 -0400 Subject: [PATCH] avoids cutting the first paragraph of notifcations --- .../amethyst/service/notifications/EventNotificationConsumer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/service/notifications/EventNotificationConsumer.kt b/app/src/main/java/com/vitorpamplona/amethyst/service/notifications/EventNotificationConsumer.kt index 0d7fcd26fa..fd06198ae7 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/service/notifications/EventNotificationConsumer.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/service/notifications/EventNotificationConsumer.kt @@ -75,7 +75,7 @@ class EventNotificationConsumer(private val applicationContext: Context) { } 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() ?: "" var title = applicationContext.getString(R.string.app_notification_zaps_channel_message, amount)