mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Initial timeline design tweaks (#505)
This commit is contained in:
@@ -70,7 +70,6 @@ struct HomeScreenRoomCell: View {
|
||||
Text(timestamp)
|
||||
.font(.element.footnote)
|
||||
.foregroundColor(room.hasUnreads ? .element.brand : .element.tertiaryContent)
|
||||
.id(timestamp)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -85,7 +84,9 @@ struct HomeScreenRoomCell: View {
|
||||
if let lastMessage = room.lastMessage, !String(lastMessage.characters).isEmpty {
|
||||
Text(lastMessage)
|
||||
.lastMessageFormatting()
|
||||
.id(lastMessage)
|
||||
} else {
|
||||
Text(ElementL10n.newMessage)
|
||||
.lastMessageFormatting()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user