HomePhabricator
Diffusion Comm cca55914b35f

[native] Make reanimated code in account modals more readable

Description

[native] Make reanimated code in account modals more readable

Summary:
Following up from this review comment, I:

  1. Added some variable names for some of the confusing constants
  2. Updated the code to avoid using number literals for mode numbers, relying instead of the modeNumbers object
  3. Updated the code to avoid comparing mode numbers

Reviewers: palys-swm

Reviewed By: palys-swm

Subscribers: KatPo, zrebcu411, Adrian

Differential Revision: https://phabricator.ashoat.com/D54

Details

Provenance
Ashoat Tevosyan <ashoat@gmail.com>Authored on Sep 2 2020, 11:50 AM
Reviewer
tomek
Differential Revision
Restricted Differential Revision
Parents
rCOMMccb9903b99e9: [native] Make sure ratchetAlongWithKeyboardHeight resets when keyboard hides
Branches
Unknown
Tags
Unknown