Dont show acks for received messages

This commit is contained in:
Garth Vander Houwen 2024-08-23 20:25:58 -07:00
parent 05ea8e6586
commit 53d15a4a33

View file

@ -94,7 +94,7 @@ struct ChannelMessageList: View {
Text("Waiting to be acknowledged. . .").font(
.caption2)
.foregroundColor(.orange)
} else if !isDetectionSensorMessage {
} else if currentUser && !isDetectionSensorMessage {
Text("\(ackErrorVal?.display ?? "Empty Ack Error")").fixedSize(horizontal: false, vertical: true)
.foregroundStyle(ackErrorVal?.color ?? Color.red)
.font(.caption2)