HomePhabricator
Diffusion Comm c395aab3ca94

[native] Display error message when community creation fails

Description

[native] Display error message when community creation fails

Summary:
We display an error message below the "Create Community" button when the community creation request fails.

We clear the error message when

  1. User changes name input
  2. User changes announcement setting
  3. User re-attempts community creation

Depends on D7979

Test Plan:
Looks as expected (killed keyserver to ensure requests failed):

Simulator Screenshot - Fresh iPhone 14 Pro - 2023-05-25 at 12.54.32.png (2×1 px, 154 KB)

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

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

Details

Provenance
atulAuthored on May 25 2023, 9:51 AM
Reviewer
ashoat
Differential Revision
D7980: [native] Display error message when community creation fails
Parents
rCOMM8833d0289256: [native] Show spinner when community creation request is in progress
Branches
Unknown
Tags
Unknown