Contact tip cleanup

This commit is contained in:
Garth Vander Houwen 2024-02-17 15:08:01 -08:00
parent 03e39454c4
commit d9d8415109
4 changed files with 5 additions and 9 deletions

View file

@ -38,7 +38,7 @@ struct ContactsTip: Tip {
}
var message: Text? {
//Text("tip.messages.contacts.message")
Text("Each node shows as an available contact. Nodes with recent messages and favorites show up at the top of the list. Select a node to send or view messages. Long press to favorite or mute the node, send a trace route or delete the conversation.")
Text("Each node is an available contact. Contacts with recent messages or marked as favorites show up at the top of the list. Select a contact to send or view messages. Long press to favorite or mute the contact or delete the conversation.")
}
var image: Image? {
Image(systemName: "person.circle")

View file

@ -87,9 +87,6 @@ struct UserList: View {
.foregroundColor(.secondary)
}
}
// Image(systemName: "chevron.forward")
// .font(.caption)
// .foregroundColor(.secondary)
}
if user.messageList.count > 0 {

View file

@ -124,7 +124,7 @@ struct NodeListItem: View {
.frame(width: 30)
Text("Channel: \(node.channel)")
.foregroundColor(.gray)
.font(.caption)
.font(UIDevice.current.userInterfaceIdiom == .phone ? .callout : .caption)
}
if node.viaMqtt && connectedNode != node.num {
Image(systemName: "network")
@ -133,7 +133,7 @@ struct NodeListItem: View {
.frame(width: 30)
Text("Via MQTT")
.foregroundColor(.gray)
.font(.caption)
.font(UIDevice.current.userInterfaceIdiom == .phone ? .callout : .caption)
}
}
if node.hasPositions || node.hasEnvironmentMetrics || node.hasDetectionSensorMetrics || node.hasTraceRoutes {
@ -144,7 +144,7 @@ struct NodeListItem: View {
.frame(width: 30)
Text("Logs:")
.foregroundColor(.gray)
.font(.callout)
.font(UIDevice.current.userInterfaceIdiom == .phone ? .callout : .caption)
if node.hasDeviceMetrics {
Image(systemName: "flipphone")
.symbolRenderingMode(.hierarchical)
@ -183,7 +183,6 @@ struct NodeListItem: View {
LoRaSignalStrengthMeter(snr: node.snr, rssi: node.rssi, preset: preset ?? ModemPresets.longFast, compact: true)
}
.padding(.top)
}
}
.frame(maxWidth: .infinity, alignment: .leading)

View file

@ -299,7 +299,7 @@
"tip.bluetooth.connect.title"="Connected Radio";
"tip.bluetooth.connect.message"="Shows information for the Lora radio connected via bluetooth. You can swipe left to disconnect the radio and long press to view stats or start the live activity.";
"tip.channels.create.title"="Manage Channels";
"tip.channels.create.message"="Most data on your mesh is sent over the primary channel. You can set up secondary channels to create additional messaging groups secured by their own key. [Channel config tips](https://meshtastic.org/docs/configuration/radio/channels/)";
"tip.channels.create.message"="Most data on your mesh is sent over the primary channel. You can set up secondary channels to create additional messaging groups secured by their own key. [Channel config tips](https://meshtastic.org/docs/configuration/tips/)";
"tip.channels.share.title"="Sharing Meshtastic Channels";
"tip.channels.share.message"="A Meshtastic QR code contains the LoRa config and channel values needed to communicate. Most mesh activity takes place on the required Primary channel. If you don't share your primary channel your first shared channel becomes the primary channel on the other network. Other channels are for private groups, each with its own key.";
"tip.messages.title"="Messages";