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" }}