Some minor changes
This commit is contained in:
@@ -17,9 +17,15 @@ struct ConversationListView: View
|
||||
let isUnread = conv.wrappedValue.unreadCount > 0
|
||||
|
||||
HStack(spacing: 0.0) {
|
||||
Image(systemName: isUnread ? "circlebadge.fill" : "")
|
||||
.foregroundStyle(.tint)
|
||||
.frame(width: 10.0)
|
||||
if isUnread {
|
||||
Image(systemName: "circlebadge.fill")
|
||||
.foregroundStyle(.tint)
|
||||
.frame(width: 10.0)
|
||||
} else {
|
||||
Rectangle()
|
||||
.foregroundStyle(.clear)
|
||||
.frame(width: 10.0)
|
||||
}
|
||||
|
||||
VStack(alignment: .leading) {
|
||||
Text(conv.wrappedValue.displayName)
|
||||
|
||||
Reference in New Issue
Block a user