Updates following self review.

This commit is contained in:
Doug
2022-03-17 19:08:25 +00:00
parent d72b815dc1
commit 8a3664b1f2
17 changed files with 86 additions and 61 deletions
@@ -22,7 +22,10 @@ protocol OnboardingAvatarViewModelProtocol {
@available(iOS 14, *)
var context: OnboardingAvatarViewModelType.Context { get }
/// Update the view model to show the image that the user has picked.
func updateAvatarImage(with image: UIImage?)
func update(with error: Error)
/// Update the view model to show that an error has occurred.
/// - Parameter error: The error to be displayed or `nil` to display a generic alert.
func processError(_ error: NSError?)
}