mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
Merge branch 'develop' into maximee/5982_ls_static_share_viewer
This commit is contained in:
+2
-2
@@ -24,7 +24,7 @@ struct StaticLocationSharingViewerCoordinatorParameters {
|
||||
let mediaManager: MXMediaManager
|
||||
let avatarData: AvatarInputProtocol
|
||||
let location: CLLocationCoordinate2D
|
||||
let coordinateType: MXEventAssetType
|
||||
let coordinateType: LocationSharingCoordinateType
|
||||
}
|
||||
|
||||
final class StaticLocationSharingViewerCoordinator: Coordinator, Presentable {
|
||||
@@ -54,7 +54,7 @@ final class StaticLocationSharingViewerCoordinator: Coordinator, Presentable {
|
||||
let viewModel = StaticLocationSharingViewerViewModel(mapStyleURL: BuildSettings.tileServerMapStyleURL,
|
||||
avatarData: parameters.avatarData,
|
||||
location: parameters.location,
|
||||
coordinateType: parameters.coordinateType.locationSharingCoordinateType())
|
||||
coordinateType: parameters.coordinateType)
|
||||
let view = StaticLocationSharingViewer(viewModel: viewModel.context)
|
||||
staticLocationSharingViewerViewModel = viewModel
|
||||
staticLocationSharingViewerHostingController = VectorHostingController(rootView: view)
|
||||
|
||||
Reference in New Issue
Block a user