Skip to content

Commit

Permalink
Remove extra spacer and print line
Browse files Browse the repository at this point in the history
  • Loading branch information
garthvh committed Dec 13, 2024
1 parent 0891a37 commit 6584233
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Meshtastic/Views/Nodes/Helpers/NodeInfoItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ struct NodeInfoItem: View {
VStack(alignment: .center) {
HStack {
if user.hardwareImage != "UNSET" {
Spacer()
Image(user.hardwareImage ?? "UNSET")
.resizable()
.aspectRatio(contentMode: .fit)
Expand All @@ -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)
}
}
Expand All @@ -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
}
Expand Down

0 comments on commit 6584233

Please sign in to comment.