[Feature] Location add #11

Merged
javier merged 8 commits from feature/location-add into main 2023-04-12 21:25:09 +00:00
3 changed files with 18 additions and 2 deletions
Showing only changes of commit fa6ae4863e - Show all commits

View File

@ -38,4 +38,12 @@ class LocationsAddCoordinator: Coordinator {
// MARK: - LocationsAddCoordination
extension LocationsAddCoordinator: LocationsAddCoordination {}
extension LocationsAddCoordinator: LocationsAddCoordination {
// MARK: Functions
func closeAddLocation() {
router.dismiss(animated: true)
}
}

View File

@ -6,4 +6,10 @@
// Copyright © 2023 Röck+Cöde. All rights reserved.
//
protocol LocationsAddCoordination: AnyObject {}
protocol LocationsAddCoordination: AnyObject {
// MARK: Functions
func closeAddLocation()
}

View File

@ -53,6 +53,8 @@ extension LocationsAddViewModel: LocationsAddViewModeling {
latitude: location.latitude,
longitude: location.longitude
)
coordinator?.closeAddLocation()
}
func setLocation(latitude: Float, longitude: Float) {