mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Full screen lists
This commit is contained in:
parent
d6e26c3395
commit
b9c188acaf
2 changed files with 5 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ struct NodeList: View {
|
|||
.padding([.top, .bottom])
|
||||
}
|
||||
}
|
||||
.listStyle(.plain)
|
||||
.navigationTitle(String.localizedStringWithFormat("nodes %@".localized, String(nodes.count)))
|
||||
.navigationBarItems(leading:
|
||||
MeshtasticLogo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue