Use UserIndicatorPresenter for onboarding personalisation.

Remove the service from the display name screen to match the avatar screen.
Add a loading indicator to PhotoPickerPresenter.
Fix layout issue when selecting non-square avatar image.
This commit is contained in:
Doug
2022-03-15 16:00:06 +00:00
parent 059a8181ed
commit a8626557c1
20 changed files with 158 additions and 207 deletions
@@ -61,13 +61,7 @@ class OnboardingAvatarViewModel: OnboardingAvatarViewModelType, OnboardingAvatar
state.avatar = image
}
func startLoading() {
state.isWaiting = true
}
func stopLoading(error: Error?) {
state.isWaiting = false
func update(with error: Error) {
if let error = error as NSError? {
state.bindings.alertInfo = AlertInfo(error: error)
}