mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Little tiny locks
This commit is contained in:
parent
a274d6fcf8
commit
9e4def79be
3 changed files with 8 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ struct MessageContextMenuItems: View {
|
|||
let messageDate = Date(timeIntervalSince1970: TimeInterval(message.messageTimestamp))
|
||||
Text("\(messageDate.formattedDate(format: MessageText.dateFormatString))").foregroundColor(.gray)
|
||||
}
|
||||
|
||||
|
||||
if !isCurrentUser && !(message.fromUser?.userNode?.viaMqtt ?? false) && message.fromUser?.userNode?.hopsAway ?? -1 == 0 {
|
||||
VStack {
|
||||
Text("SNR \(String(format: "%.2f", message.snr)) dB")
|
||||
|
|
|
|||
|
|
@ -57,6 +57,12 @@ struct UserMessageList: View {
|
|||
self.replyMessageId = message.messageId
|
||||
self.messageFieldFocused = true
|
||||
}
|
||||
if message.pkiEncrypted {
|
||||
Image(systemName: "lock.circle.fill")
|
||||
.foregroundStyle(.green)
|
||||
.frame(height: 25)
|
||||
.padding(.top, 5)
|
||||
}
|
||||
|
||||
if currentUser && message.canRetry || (message.receivedACK && !message.realACK) {
|
||||
RetryButton(message: message, destination: .user(user))
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit c112ce6e1392e4bc812655fae5e8461c932b5267
|
||||
Subproject commit 2fa7d6a4b702fcd58b54b0d1d6e4b3b85164f649
|
||||
Loading…
Add table
Add a link
Reference in a new issue