mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 12:46:58 +02:00
merged element-ios 1.10.5 into 4409_basis_update_1_10_5
This commit is contained in:
+3
-3
@@ -40,7 +40,7 @@ class LocationSharingViewModel: LocationSharingViewModelType, LocationSharingVie
|
||||
userAvatarData: avatarData,
|
||||
annotations: [],
|
||||
highlightedAnnotation: nil,
|
||||
showsUserLocation: true,
|
||||
showsUserLocationMode: .follow,
|
||||
isLiveLocationSharingEnabled: isLiveLocationSharingEnabled)
|
||||
|
||||
super.init(initialViewState: viewState)
|
||||
@@ -78,7 +78,7 @@ class LocationSharingViewModel: LocationSharingViewModelType, LocationSharingVie
|
||||
if state.bindings.userLocation == nil {
|
||||
showMissingLocationError()
|
||||
} else {
|
||||
state.showsUserLocation = true
|
||||
state.showsUserLocationMode = .follow
|
||||
state.isPinDropSharing = false
|
||||
}
|
||||
case .startLiveSharing:
|
||||
@@ -87,7 +87,7 @@ class LocationSharingViewModel: LocationSharingViewModelType, LocationSharingVie
|
||||
state.bindings.showingTimerSelector = false
|
||||
completion?(.shareLiveLocation(timeout: timeout.rawValue))
|
||||
case .userDidPan:
|
||||
state.showsUserLocation = false
|
||||
state.showsUserLocationMode = .hide
|
||||
state.isPinDropSharing = true
|
||||
case .mapCreditsDidTap:
|
||||
state.bindings.showMapCreditsSheet.toggle()
|
||||
|
||||
Reference in New Issue
Block a user