mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 21:26:41 +01:00
avoids cutting the first paragraph of notifcations
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user