HomePhabricator
Diffusion Comm 41119a327f34

[native] Refactor exitEditAlert function

Description

[native] Refactor exitEditAlert function

Summary:
Suggested in https://phab.comm.dev/D8271#inline-53522
Changed the exitEditAlert function so it takes an object with named parameters. It adds also the onContinueEditing param, which is used in the next diff.

Test Plan: - Checked if the app works as before.

Reviewers: ashoat, tomek

Reviewed By: ashoat

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

Details

Provenance
kosmydel <kukubaczek@gmail.com>Authored on Jul 3 2023, 2:57 AM
kosmydel <104823336+kosmydel@users.noreply.github.com>Committed on Jul 13 2023, 1:55 AM
Reviewer
ashoat
Differential Revision
D8411: [native] Refactor exitEditAlert function
Parents
rCOMMcc00dad712bf: [native] Blocking navigation in edit mode in OverlayRouter
Branches
Unknown
Tags
Unknown