mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Make sizing more consistent
This commit is contained in:
parent
13a51d030c
commit
57e48c6563
1 changed files with 3 additions and 6 deletions
|
|
@ -42,13 +42,10 @@ struct NodeList: View {
|
|||
let connected: Bool = (bleManager.connectedPeripheral != nil && bleManager.connectedPeripheral.num == node.num)
|
||||
VStack(alignment: .leading) {
|
||||
HStack {
|
||||
CircleText(text: node.user?.shortName ?? "???", color: .blue).offset(y: 1).padding(.trailing, 5)
|
||||
CircleText(text: node.user?.shortName ?? "???", color: .blue, circleSize: 52, fontSize: 16).offset(y: 1).padding(.trailing, 5)
|
||||
.offset(x: -15)
|
||||
if UIDevice.current.userInterfaceIdiom == .pad { Text(node.user?.longName ?? "Unknown").font(.headline)
|
||||
.offset(x: -15)
|
||||
} else {
|
||||
Text(node.user?.longName ?? "Unknown").font(.title2).offset(x: -15)
|
||||
}
|
||||
|
||||
Text(node.user?.longName ?? "Unknown").font(.headline).offset(x: -15)
|
||||
}
|
||||
.padding(.bottom, 5)
|
||||
if connected {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue