merged element-ios 1.10.5 into 4409_basis_update_1_10_5

This commit is contained in:
Arnfried Griesert
2023-03-16 12:19:26 +01:00
168 changed files with 2451 additions and 850 deletions
@@ -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()