From 86bcc6ca00067139b08c998051c1d04eec67476a Mon Sep 17 00:00:00 2001 From: f-r00t Date: Mon, 26 Feb 2024 12:14:02 +0100 Subject: [PATCH] Added message ellipsis to message list --- src/Groups.js | 2 +- src/Recipients.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Groups.js b/src/Groups.js index 5fa90c9..d8880d6 100644 --- a/src/Groups.js +++ b/src/Groups.js @@ -205,7 +205,7 @@ export class GroupsScreenNoTranslation extends React.Component { renderItem={({item}) => ( {item.lastMessageNickname ? item.lastMessageNickname : t('Anonymous')}{" " + item.lastMessage}{"\n"}{item.lastMessageTimestamp/1000} : t('noMessages')} + subtitle={item.lastMessage ? {item.lastMessageNickname ? item.lastMessageNickname : t('Anonymous')}{item.lastMessage}{"\n"}{item.lastMessageTimestamp/1000} : t('noMessages')} chevron={item.read == '1' ? false : newMessageIndicator } leftIcon={ ( {item.lastMessage}{"\n"}{item.lastMessageTimestamp/1000} : t('noMessages')} + subtitle={item.lastMessage ? {item.lastMessage}{"\n"}{item.lastMessageTimestamp/1000} : t('noMessages')} subtitleStyle={{ fontFamily: "Montserrat-Regular" }}