HomePhabricator
Diffusion Comm 4fda6f042654

[native] Show `ActivityIndicator` in `EditUserAvatar` during update

Description

[native] Show ActivityIndicator in EditUserAvatar during update

Summary:
We consume isGalleryAvatarUpdateLoading and isRemoveAvatarUpdateLoading introduced in previous diffs to display ActivityIndicator (ie spinner) when an update is in progress.

Note: Yeah there are obvious things that can be factored out. I want to get more of the error handling stuff done first and then I'll go through and consolidate things.


Depends on D7528

Test Plan:
Works as expected:

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7529

Details

Provenance
atulAuthored on Apr 19 2023, 12:08 PM
Reviewer
ashoat
Differential Revision
D7529: [native] Show `ActivityIndicator` in `EditUserAvatar` during update
Parents
rCOMMd21240a7692b: [native] Update `useRemoveUserAvatar` to return `isLoading`
Branches
Unknown
Tags
Unknown