mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-28 20:26:57 +02:00
Updates following self review.
This commit is contained in:
@@ -61,9 +61,7 @@ class OnboardingAvatarViewModel: OnboardingAvatarViewModelType, OnboardingAvatar
|
||||
state.avatar = image
|
||||
}
|
||||
|
||||
func update(with error: Error) {
|
||||
if let error = error as NSError? {
|
||||
state.bindings.alertInfo = AlertInfo(error: error)
|
||||
}
|
||||
func processError(_ error: NSError?) {
|
||||
state.bindings.alertInfo = AlertInfo(error: error)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user