mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
Updates following self review.
This commit is contained in:
@@ -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?)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user