HomePhabricator
Diffusion Comm fba08e783972

[native] Added message editing

Description

[native] Added message editing

Summary: After pressing send button in edit mode, the message will be edited with new content.

Test Plan:
Tested on iOS, in edit mode:

  • modified the content, pressed the sent button (the message has been edited, exited edit mode, restored draft),
  • modified the content, pressed the sent button with disabled keyserver (an alert appeared, remained in edit mode):

Screenshot 2023-04-14 at 10.21.42.png (762×734 px, 174 KB)

  • left the content the same, pressed the sent button (exited edit mode without alert, restored the draft).

Reviewers: michal, inka, ginsu

Reviewed By: inka

Subscribers: ashoat, tomek, atul

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

Details

Provenance
kosmydel <kukubaczek@gmail.com>Authored on Apr 12 2023, 3:16 AM
Reviewer
inka
Differential Revision
D7445: [native] Added message editing
Parents
rCOMM90b1e32fd73a: [lib] Change definition of useEditMessage function
Branches
Unknown
Tags
Unknown

Event Timeline