From 57e48c656387f790bf24cf4e9eb1f00a287ebe04 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Fri, 11 Nov 2022 07:41:30 -0800 Subject: [PATCH] Make sizing more consistent --- Meshtastic/Views/Nodes/NodeList.swift | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Meshtastic/Views/Nodes/NodeList.swift b/Meshtastic/Views/Nodes/NodeList.swift index 1c1758dc..62fcc610 100644 --- a/Meshtastic/Views/Nodes/NodeList.swift +++ b/Meshtastic/Views/Nodes/NodeList.swift @@ -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 {