Rename completion to callback and simplify actor usage. (#6141)

This commit is contained in:
Doug
2022-05-11 13:18:26 +01:00
committed by GitHub
parent 42d2108ac9
commit bb9d94a59d
12 changed files with 113 additions and 95 deletions
@@ -18,7 +18,7 @@ import SwiftUI
protocol OnboardingAvatarViewModelProtocol {
var completion: ((OnboardingAvatarViewModelResult) -> Void)? { get set }
var callback: ((OnboardingAvatarViewModelResult) -> Void)? { get set }
var context: OnboardingAvatarViewModelType.Context { get }
/// Update the view model to show the image that the user has picked.