File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
WordPress/Classes/ViewRelated/Post/Publishing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import WordPressUI
7
7
8
8
/// A screen shown just before publishing the post and allows you to change
9
9
/// 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 > {
11
11
private let viewModel : PostSettingsViewModel
12
12
13
13
var onCompletion : ( ( PrepublishingSheetResult ) -> Void ) ?
@@ -19,7 +19,7 @@ final class PublishPostViewController: UIHostingController<NavigationView<Publis
19
19
context: . publishing
20
20
)
21
21
self . viewModel = viewModel
22
- super. init ( rootView: NavigationView { PublishPostView ( viewModel: viewModel) } )
22
+ super. init ( rootView: PublishPostView ( viewModel: viewModel) )
23
23
}
24
24
25
25
required dynamic init ? ( coder aDecoder: NSCoder ) {
You can’t perform that action at this time.
0 commit comments