HomePhabricator
Diffusion Comm bda34094c90b

[native] update remove keyserver text based on connection status

Description

[native] update remove keyserver text based on connection status

Summary:
In the designs for the keyserver selection bottomsheet, the text of the keyserver remove info and the remove button are different depending if you are connected to the selected keyserver or not. This diff introduces this functionality to the keyserver selection bottomsheet

For context here are the figma designs:

connected:

Screenshot 2023-11-09 at 3.21.58 AM.png (1×758 px, 126 KB)

disconnected:
Screenshot 2023-11-09 at 3.21.53 AM.png (1×726 px, 129 KB)

Linear task: https://linear.app/comm/issue/ENG-5469/introduce-keyserverselectionbottomsheet-component-ui

Depends on D9756

Test Plan:
Please see the screenshots below

connected:

Screenshot 2023-11-09 at 2.38.35 AM.png (1×1 px, 741 KB)

disconnected:

Screenshot 2023-11-09 at 2.38.30 AM.png (1×1 px, 760 KB)

Reviewers: inka, rohan, michal

Reviewed By: inka

Subscribers: ashoat, tomek, wyilio

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

Details

Provenance
ginsuAuthored on Nov 8 2023, 10:10 AM
Reviewer
inka
Differential Revision
D9794: [native] update remove keyserver text based on connection status
Parents
rCOMM8073ea0aa3cd: [native] add onPress function to keyserver selection list item
Branches
Unknown
Tags
Unknown