Add comment about potential location reading architecture
This commit is contained in:
parent
c59b394f73
commit
00b7d97bac
|
@ -109,8 +109,8 @@ extension LocationCollectionView.ViewModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// TODO: Could this functionality live in a separate redux state struct
|
// TODO: Could this functionality live in a separate ObservableObject?
|
||||||
// (e.g. UserLocationState)?
|
// Perhaps it might also lend itself to a `LocationReading` protocol
|
||||||
func requestLocationTrackingAuthorization() {
|
func requestLocationTrackingAuthorization() {
|
||||||
locationManager.requestWhenInUseAuthorization()
|
locationManager.requestWhenInUseAuthorization()
|
||||||
}
|
}
|
||||||
|
@ -162,7 +162,6 @@ extension LocationCollectionView.ViewModel: CLLocationManagerDelegate {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// MARK: - Private Helpers
|
// MARK: - Private Helpers
|
||||||
private extension LocationCollectionView.ViewModel {
|
private extension LocationCollectionView.ViewModel {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue