We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 154ba92 commit 315f679Copy full SHA for 315f679
WooCommerce/Classes/ViewRelated/Reviews/ReviewReply.swift
@@ -4,7 +4,11 @@ import SwiftUI
4
/// Hosting controller that wraps a `ReviewDetailsReply` view.
5
///
6
final class ReviewReplyHostingController: UIHostingController<ReviewReply>, UIAdaptivePresentationControllerDelegate {
7
+
8
+ private let viewModel: ReviewReplyViewModel
9
10
init(viewModel: ReviewReplyViewModel) {
11
+ self.viewModel = viewModel
12
super.init(rootView: ReviewReply(viewModel: viewModel))
13
14
// Needed because a `SwiftUI` cannot be dismissed when being presented by a UIHostingController
0 commit comments