mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
commit
abd24e45c1
3 changed files with 6 additions and 11 deletions
|
|
@ -23,7 +23,7 @@ struct NodeDetail: View {
|
|||
|
||||
let hwModelString = node.user?.hwModel ?? "UNSET"
|
||||
|
||||
HStack {
|
||||
ZStack {
|
||||
|
||||
GeometryReader { bounds in
|
||||
|
||||
|
|
@ -64,10 +64,10 @@ struct NodeDetail: View {
|
|||
)
|
||||
}
|
||||
.ignoresSafeArea(.all, edges: [.leading, .trailing])
|
||||
.frame(idealWidth: bounds.size.width, minHeight: bounds.size.height / 2)
|
||||
.frame(idealWidth: bounds.size.width, minHeight: bounds.size.height / 1.75)
|
||||
}
|
||||
}
|
||||
//Text("\(mostRecent.satsInView)")
|
||||
Text("Sats: \(mostRecent.satsInView)").offset( y:-40)
|
||||
} else {
|
||||
|
||||
Image(node.user?.hwModel ?? "UNSET")
|
||||
|
|
@ -432,6 +432,7 @@ struct NodeDetail: View {
|
|||
.frame(minHeight:170)
|
||||
.padding(0)
|
||||
}
|
||||
.offset( y:-40)
|
||||
}
|
||||
.edgesIgnoringSafeArea([.leading, .trailing])
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,15 +87,9 @@ struct NodeList: View {
|
|||
|
||||
Image(systemName: "clock.badge.checkmark.fill").font(.title3)
|
||||
.foregroundColor(.accentColor).symbolRenderingMode(.hierarchical)
|
||||
|
||||
if UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac {
|
||||
|
||||
LastHeardText(lastHeard: node.lastHeard).font(.subheadline).foregroundColor(.gray)
|
||||
|
||||
} else {
|
||||
|
||||
LastHeardText(lastHeard: node.lastHeard).font(.title3).foregroundColor(.gray)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if node.positions?.count ?? 0 > 0 && (bleManager.connectedPeripheral != nil && bleManager.connectedPeripheral.num != node.num) {
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ struct BluetoothConfig: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
.navigationTitle("Display Config")
|
||||
.navigationTitle("Bluetooth (BLE) Config")
|
||||
.navigationBarItems(trailing:
|
||||
|
||||
ZStack {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue