mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Add back nav titles
This commit is contained in:
parent
0060dcbf21
commit
de65e68873
2 changed files with 20 additions and 18 deletions
|
|
@ -128,6 +128,12 @@ struct Contacts: View {
|
|||
.hidden()
|
||||
}
|
||||
.tint(Color(UIColor.systemGray))
|
||||
.navigationSplitViewStyle(.automatic)
|
||||
.navigationTitle("Contacts")
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.navigationBarItems(leading:
|
||||
MeshtasticLogo()
|
||||
)
|
||||
}
|
||||
detail: {
|
||||
|
||||
|
|
@ -140,11 +146,6 @@ struct Contacts: View {
|
|||
Text("Select a user")
|
||||
}
|
||||
}
|
||||
.navigationSplitViewStyle(.automatic)
|
||||
.navigationTitle("Contacts")
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.navigationBarItems(leading:
|
||||
MeshtasticLogo()
|
||||
)
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,6 +123,19 @@ struct NodeList: View {
|
|||
}
|
||||
}
|
||||
.tint(Color(UIColor.systemGray))
|
||||
.navigationTitle("All Nodes")
|
||||
.navigationBarItems(leading:
|
||||
MeshtasticLogo()
|
||||
)
|
||||
.onAppear {
|
||||
|
||||
if initialLoad {
|
||||
|
||||
self.bleManager.userSettings = userSettings
|
||||
self.bleManager.context = context
|
||||
self.initialLoad = false
|
||||
}
|
||||
}
|
||||
} detail: {
|
||||
|
||||
if let node = selection {
|
||||
|
|
@ -134,18 +147,6 @@ struct NodeList: View {
|
|||
Text("Select a node")
|
||||
}
|
||||
}
|
||||
.navigationTitle("All Nodes")
|
||||
.navigationBarItems(leading:
|
||||
MeshtasticLogo()
|
||||
)
|
||||
.onAppear {
|
||||
|
||||
if initialLoad {
|
||||
|
||||
self.bleManager.userSettings = userSettings
|
||||
self.bleManager.context = context
|
||||
self.initialLoad = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue