This commit is contained in:
Woit 2024-12-06 22:47:00 +01:00
parent 8515b79b57
commit 4378b2806c

View file

@ -34,7 +34,7 @@ struct MessageAttr: View {
let message: Message
var body: some View {
VStack(alignment: .leading, spacing: 0) {
VStack(alignment: .trailing, spacing: 0) {
HStack(spacing: 2) {
if !message.isInbound && message.encrypted {
Image(systemName: "lock")
@ -55,22 +55,22 @@ struct MessageAttr: View {
switch message.status {
case .sent:
Image(systemName: "checkmark")
.font(.body3)
.font(.sub1)
.foregroundColor(.Material.Shape.separator)
case .delivered:
HStack {
Image(systemName: "checkmark")
.font(.body3)
.font(.sub1)
.foregroundColor(.Material.Shape.separator)
Image(systemName: "checkmark")
.font(.body3)
.font(.sub1)
.foregroundColor(.Material.Shape.separator)
}
case .error:
Image(systemName: "exclamationmark.circle")
.font(.body3)
.font(.sub1)
.foregroundColor(.Rainbow.red500)
default: