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
|
||||
// (e.g. UserLocationState)?
|
||||
// TODO: Could this functionality live in a separate ObservableObject?
|
||||
// Perhaps it might also lend itself to a `LocationReading` protocol
|
||||
func requestLocationTrackingAuthorization() {
|
||||
locationManager.requestWhenInUseAuthorization()
|
||||
}
|
||||
|
@ -162,7 +162,6 @@ extension LocationCollectionView.ViewModel: CLLocationManagerDelegate {
|
|||
}
|
||||
|
||||
|
||||
|
||||
// MARK: - Private Helpers
|
||||
private extension LocationCollectionView.ViewModel {
|
||||
|
||||
|
|
Loading…
Reference in New Issue