Skip to content

Commit 277cde3

Browse files
committed
Remove extra navigation view
1 parent d8ee3a3 commit 277cde3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPress/Classes/ViewRelated/Post/Publishing/PublishPostViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import WordPressUI
77

88
/// A screen shown just before publishing the post and allows you to change
99
/// the post settings along with some publishing options like the publish date.
10-
final class PublishPostViewController: UIHostingController<NavigationView<PublishPostView>> {
10+
final class PublishPostViewController: UIHostingController<PublishPostView> {
1111
private let viewModel: PostSettingsViewModel
1212

1313
var onCompletion: ((PrepublishingSheetResult) -> Void)?
@@ -19,7 +19,7 @@ final class PublishPostViewController: UIHostingController<NavigationView<Publis
1919
context: .publishing
2020
)
2121
self.viewModel = viewModel
22-
super.init(rootView: NavigationView { PublishPostView(viewModel: viewModel) })
22+
super.init(rootView: PublishPostView(viewModel: viewModel))
2323
}
2424

2525
required dynamic init?(coder aDecoder: NSCoder) {

0 commit comments

Comments
 (0)