mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-19 14:22:10 +00:00
macOS: Fix broken subroute navigation in modules
This commit is contained in:
parent
ecf37558ec
commit
e4333965bd
@ -55,7 +55,6 @@ struct ProfileGeneralView: View {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
.themeForm()
|
.themeForm()
|
||||||
.navigationDestinations(for: profileEditor, path: $path)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,9 +69,11 @@ struct ProfileSplitView: View, Routable {
|
|||||||
switch selectedModuleId {
|
switch selectedModuleId {
|
||||||
case ModuleListView.generalModuleId:
|
case ModuleListView.generalModuleId:
|
||||||
detailView(for: .general)
|
detailView(for: .general)
|
||||||
|
.navigationDestinations(for: profileEditor, path: $detailPath)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
detailView(for: .module(id: selectedModuleId))
|
detailView(for: .module(id: selectedModuleId))
|
||||||
|
.navigationDestinations(for: profileEditor, path: $detailPath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.themeNavigationStack(path: $detailPath)
|
.themeNavigationStack(path: $detailPath)
|
||||||
|
Loading…
Reference in New Issue
Block a user