mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Remove extra spacer and print line
This commit is contained in:
parent
0891a37a56
commit
65842330c4
1 changed files with 1 additions and 3 deletions
|
|
@ -36,7 +36,6 @@ struct NodeInfoItem: View {
|
|||
VStack(alignment: .center) {
|
||||
HStack {
|
||||
if user.hardwareImage != "UNSET" {
|
||||
Spacer()
|
||||
Image(user.hardwareImage ?? "UNSET")
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
|
|
@ -46,7 +45,7 @@ struct NodeInfoItem: View {
|
|||
Image(systemName: "person.crop.circle.badge.questionmark")
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.frame(width: 65, height: 65)
|
||||
.frame(width: 75, height: 75)
|
||||
.cornerRadius(5)
|
||||
}
|
||||
}
|
||||
|
|
@ -58,7 +57,6 @@ struct NodeInfoItem: View {
|
|||
for device in hw {
|
||||
let currentHardware = node.user?.hwModel ?? "UNSET"
|
||||
let deviceString = device.hwModelSlug.replacingOccurrences(of: "_", with: "")
|
||||
print(deviceString + " == " + currentHardware)
|
||||
if deviceString == currentHardware {
|
||||
currentDevice = device
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue