mirror of
https://github.com/seemoo-lab/openhaystack.git
synced 2026-02-14 17:49:54 +00:00
Show accessory title in navigation
This commit is contained in:
@@ -41,7 +41,6 @@ struct OpenHaystackMainView: View {
|
||||
accessoryToDeploy: self.$accessoryToDeploy,
|
||||
showESP32DeploySheet: self.$showESP32DeploySheet
|
||||
)
|
||||
.navigationTitle(self.focusedAccessory?.name ?? "OpenHaystack")
|
||||
|
||||
ZStack {
|
||||
AccessoryMapView(accessoryController: self.accessoryController, mapType: self.$mapType, focusedAccessory: self.focusedAccessory)
|
||||
@@ -90,6 +89,8 @@ struct OpenHaystackMainView: View {
|
||||
self.onAppear()
|
||||
}
|
||||
}
|
||||
.navigationTitle(self.focusedAccessory?.name ?? "Your accessories")
|
||||
|
||||
}
|
||||
|
||||
// MARK: Subviews
|
||||
|
||||
Reference in New Issue
Block a user