Add snr to messages

This commit is contained in:
Garth Vander Houwen 2022-11-10 23:34:15 -08:00
parent 1b5b146334
commit f88375c7a1

View file

@ -106,6 +106,11 @@ struct UserMessageList: View {
let messageDate = Date(timeIntervalSince1970: TimeInterval(message.messageTimestamp))
Text("Date \(messageDate, style: .date) \(messageDate.formattedDate(format: "h:mm:ss a"))").font(.caption2).foregroundColor(.gray)
}
if !currentUser {
VStack {
Text("SNR \(message.snr)")
}
}
if currentUser && message.receivedACK {
VStack {
Text("Received Ack \(message.receivedACK ? "✔️" : "")")