mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Unset navigation selected node on details disappear
This commit is contained in:
parent
870fe5a13c
commit
5cca683d44
1 changed files with 3 additions and 0 deletions
|
|
@ -284,6 +284,9 @@ struct NodeList: View {
|
|||
// Make sure the ZStack passes through accessibility to the ConnectedDevice component
|
||||
.accessibilityElement(children: .contain)
|
||||
)
|
||||
.onDisappear {
|
||||
router.navigationState.nodeListSelectedNodeNum = nil
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ContentUnavailableView("Select Node", systemImage: "flipphone")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue