mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-15 12:22:06 +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()
|
||||
.navigationDestinations(for: profileEditor, path: $path)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -69,9 +69,11 @@ struct ProfileSplitView: View, Routable {
|
||||
switch selectedModuleId {
|
||||
case ModuleListView.generalModuleId:
|
||||
detailView(for: .general)
|
||||
.navigationDestinations(for: profileEditor, path: $detailPath)
|
||||
|
||||
default:
|
||||
detailView(for: .module(id: selectedModuleId))
|
||||
.navigationDestinations(for: profileEditor, path: $detailPath)
|
||||
}
|
||||
}
|
||||
.themeNavigationStack(path: $detailPath)
|
||||
|
Loading…
Reference in New Issue
Block a user