Add a generic ErrorAlertInfo type.

Adopt it in Location Sharing and Polls.
This commit is contained in:
Doug
2022-03-03 16:30:00 +00:00
committed by Doug
parent cfeae5bc64
commit 9602d1ee03
8 changed files with 85 additions and 57 deletions
@@ -20,7 +20,7 @@ protocol LocationSharingViewModelProtocol {
var completion: ((LocationSharingViewModelResult) -> Void)? { get set }
func startLoading()
func stopLoading(error: LocationSharingErrorAlertInfo.AlertType?)
func stopLoading(error: LocationSharingAlertType?)
}
extension LocationSharingViewModelProtocol {