mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
5982: Rename action
This commit is contained in:
@@ -63,8 +63,8 @@ class StaticLocationViewingViewModel: StaticLocationViewingViewModelType, Static
|
||||
|
||||
override func process(viewAction: StaticLocationViewingViewAction) {
|
||||
switch viewAction {
|
||||
case .cancel:
|
||||
completion?(.cancel)
|
||||
case .close:
|
||||
completion?(.close)
|
||||
case .share:
|
||||
completion?(.share(state.sharedAnnotation.coordinate))
|
||||
}
|
||||
@@ -78,7 +78,7 @@ class StaticLocationViewingViewModel: StaticLocationViewingViewModelType, Static
|
||||
}
|
||||
|
||||
let alertInfo = mapViewErrorAlertInfoBuilder.build(with: error) { [weak self] in
|
||||
self?.completion?(.cancel)
|
||||
self?.completion?(.close)
|
||||
}
|
||||
|
||||
state.bindings.alertInfo = alertInfo
|
||||
|
||||
Reference in New Issue
Block a user