fix: ktlint wrapping violations on toast message and intent builder

This commit is contained in:
M57 committed 2026-06-21 17:16:05 +03:00
1 parent 37fc9d9f17
commit ab92b31d2e
2 files changed
+12 -6

No files matched your search

@@ -153,11 +153,12 @@ class ChatNotificationService : Service() {
}
private fun buildContentIntent(sessionId: String?): PendingIntent {
val intent = Intent(this, MainActivity::class.java).apply {
flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP
if (!sessionId.isNullOrBlank()) {
putExtra(NotificationReplyReceiver.EXTRA_SESSION_ID, sessionId)
}
val intent = Intent(this, MainActivity::class.java)
.apply {
flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP
if (!sessionId.isNullOrBlank()) {
putExtra(NotificationReplyReceiver.EXTRA_SESSION_ID, sessionId)
}
}
return PendingIntent.getActivity(
this,