wip
This commit is contained in:
parent
e6b3d856a7
commit
8515b79b57
|
@ -35,15 +35,22 @@ struct MessageAttr: View {
|
|||
|
||||
var body: some View {
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
Text(message.timestamp, style: .time)
|
||||
.font(.sub2)
|
||||
.foregroundColor(.Material.Shape.separator)
|
||||
Spacer()
|
||||
if message.encrypted {
|
||||
Image(systemName: "lock")
|
||||
.font(.body3)
|
||||
HStack(spacing: 2) {
|
||||
if !message.isInbound && message.encrypted {
|
||||
Image(systemName: "lock")
|
||||
.font(.sub1)
|
||||
.foregroundColor(.Material.Shape.separator)
|
||||
}
|
||||
Text(message.timestamp, style: .time)
|
||||
.font(.sub1)
|
||||
.foregroundColor(.Material.Shape.separator)
|
||||
if message.isInbound && message.encrypted {
|
||||
Image(systemName: "lock")
|
||||
.font(.sub1)
|
||||
.foregroundColor(.Material.Shape.separator)
|
||||
}
|
||||
}
|
||||
Spacer()
|
||||
|
||||
switch message.status {
|
||||
case .sent:
|
||||
|
|
Loading…
Reference in a new issue