mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Update based on comments from Doug
This commit is contained in:
+3
-3
@@ -25,7 +25,7 @@ final class TemplateUserProfileCoordinator: Coordinator {
|
||||
// MARK: Private
|
||||
|
||||
private let parameters: TemplateUserProfileCoordinatorParameters
|
||||
private let templateUserProfileViewController: UIViewController
|
||||
private let templateUserProfileHostingController: UIViewController
|
||||
private var templateUserProfileViewModel: TemplateUserProfileViewModelProtocol
|
||||
|
||||
// MARK: Public
|
||||
@@ -43,7 +43,7 @@ final class TemplateUserProfileCoordinator: Coordinator {
|
||||
let view = TemplateUserProfile(viewModel: viewModel)
|
||||
.addDependency(AvatarService.instantiate(mediaManager: parameters.session.mediaManager))
|
||||
templateUserProfileViewModel = viewModel
|
||||
templateUserProfileViewController = VectorHostingController(rootView: view)
|
||||
templateUserProfileHostingController = VectorHostingController(rootView: view)
|
||||
}
|
||||
|
||||
// MARK: - Public
|
||||
@@ -59,6 +59,6 @@ final class TemplateUserProfileCoordinator: Coordinator {
|
||||
}
|
||||
|
||||
func toPresentable() -> UIViewController {
|
||||
return self.templateUserProfileViewController
|
||||
return self.templateUserProfileHostingController
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user