mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-10 09:29:25 +00:00
Refactoring
This commit is contained in:
parent
948db9d274
commit
b260545a2a
|
@ -8,7 +8,6 @@ struct RootView: View {
|
|||
@StateObject var viewModel: RootViewModel
|
||||
|
||||
var body: some View {
|
||||
Group {
|
||||
if let navigationViewModel = viewModel.navigationViewModel {
|
||||
MainNavigationView { navigationViewModel }
|
||||
.id(navigationViewModel.identityContext.identity.id)
|
||||
|
@ -30,8 +29,6 @@ struct RootView: View {
|
|||
.transition(.opacity)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private extension RootView {
|
||||
|
|
Loading…
Reference in a new issue