mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Clean up share channel view a bit
This commit is contained in:
parent
c554e4c8c5
commit
8ed501d379
1 changed files with 10 additions and 11 deletions
|
|
@ -68,20 +68,19 @@ struct ShareChannel: View {
|
|||
maxHeight: smallest * 0.8,
|
||||
alignment: .center
|
||||
)
|
||||
Spacer()
|
||||
|
||||
if node?.loRaConfig != nil {
|
||||
|
||||
HStack {
|
||||
|
||||
let preset = ModemPresets(rawValue: Int(node!.loRaConfig!.modemPreset))
|
||||
Text("Modem Preset \(preset!.description)").font(.title3)
|
||||
}
|
||||
}
|
||||
HStack {
|
||||
|
||||
let preset = ModemPresets(rawValue: Int(node!.loRaConfig!.modemPreset))
|
||||
|
||||
Text("Modem Preset \(preset!.description)").font(.title)
|
||||
Text("Number of Channels: \(node!.myInfo!.maxChannels)").font(.title2)
|
||||
}
|
||||
Spacer()
|
||||
HStack {
|
||||
|
||||
Text("Number of Channels").font(.title)
|
||||
Text(String(node!.myInfo!.maxChannels)).font(.title)
|
||||
}
|
||||
Spacer()
|
||||
}
|
||||
.frame(width: bounds.size.width, height: bounds.size.height)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue