mirror of
https://github.com/nextcloud/talk-android.git
synced 2025-07-23 05:17:10 +00:00
fix to not show null if no last message of thread exists
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
@ -212,8 +212,8 @@ fun ThreadsList(
|
||||
ThreadRow(
|
||||
roomToken = roomToken,
|
||||
threadId = threadInfo.thread!!.id,
|
||||
firstLine = threadInfo.first?.message.toString(),
|
||||
secondLine = threadInfo.last?.message.toString(),
|
||||
firstLine = threadInfo.first?.message.orEmpty(),
|
||||
secondLine = threadInfo.last?.message.orEmpty(),
|
||||
date = getLastActivityDate(threadInfo), // TODO: replace with value from api when available
|
||||
imageRequest = imageRequest,
|
||||
onClick = onThreadClick
|
||||
|
Reference in New Issue
Block a user