From fc01b56f1628db6c196c753977318a8f91d0b50e Mon Sep 17 00:00:00 2001 From: Diogo Date: Fri, 20 Sep 2024 19:06:40 +0100 Subject: [PATCH] show first date in chat --- .../kotlin/chat/simplex/common/views/chat/ChatView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatView.kt index c6e2e7a219..d2947fe33c 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatView.kt @@ -1901,8 +1901,8 @@ private fun getItemSeparation(chatItem: ChatItem, nextItem: ChatItem?): ItemSepa if (nextItem == null) { return ItemSeparation( timestamp = true, - largeGap = true, - date = null, + largeGap = false, + date = chatItem.meta.itemTs, ) }