From b9c188acaff3133cffe2352aef74bf043ad2b6bf Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Mon, 28 Aug 2023 23:23:06 -0700 Subject: [PATCH] Full screen lists --- Meshtastic/Views/Messages/Contacts.swift | 5 ++++- Meshtastic/Views/Nodes/NodeList.swift | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Meshtastic/Views/Messages/Contacts.swift b/Meshtastic/Views/Messages/Contacts.swift index b8d9ffd8..f5aa82ab 100644 --- a/Meshtastic/Views/Messages/Contacts.swift +++ b/Meshtastic/Views/Messages/Contacts.swift @@ -44,13 +44,15 @@ struct Contacts: View { let lastMessageDay = Calendar.current.dateComponents([.day], from: lastMessageTime).day ?? 0 let currentDay = Calendar.current.dateComponents([.day], from: Date()).day ?? 0 + ZStack { Image(systemName: "circle.fill") .opacity(channel.allPrivateMessages.count > 0 ? 1 : 0) .font(.system(size: 10)) .foregroundColor(.accentColor) + .brightness(0.2) } - CircleText(text: String(channel.index), color: .accentColor, circleSize: 45, fontSize: 36) + CircleText(text: String(channel.index), color: .accentColor, circleSize: 45, fontSize: 42) VStack(alignment: .leading){ HStack{ @@ -261,6 +263,7 @@ struct Contacts: View { } } } + .listStyle(.grouped) .navigationTitle("contacts") .navigationBarItems(leading: MeshtasticLogo() diff --git a/Meshtastic/Views/Nodes/NodeList.swift b/Meshtastic/Views/Nodes/NodeList.swift index 2756d43b..033e7d62 100644 --- a/Meshtastic/Views/Nodes/NodeList.swift +++ b/Meshtastic/Views/Nodes/NodeList.swift @@ -111,6 +111,7 @@ struct NodeList: View { .padding([.top, .bottom]) } } + .listStyle(.plain) .navigationTitle(String.localizedStringWithFormat("nodes %@".localized, String(nodes.count))) .navigationBarItems(leading: MeshtasticLogo()