HomePhabricator
Diffusion Comm f9309a05c068

[native] Handle loading state when joining a community

Description

[native] Handle loading state when joining a community

Summary:
While the request is in progress, show an activity indicator and make the button disabled.

loading.png (2×1 px, 189 KB)

Depends on D7557

Test Plan: Introduce a sleep on server side. Clicking a button should replace its content with activity indicator. Size of the button shouldn't change.

Reviewers: bartek, kamil, inka

Reviewed By: bartek

Subscribers: ashoat, atul

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

Details

Provenance
tomekAuthored on Apr 21 2023, 3:53 AM
Reviewer
bartek
Differential Revision
D7558: [native] Handle loading state when joining a community
Parents
rCOMM7b19ab066560: [native] Join a thread after accepting the invitation
Branches
Unknown
Tags
Unknown