Previously in Animated.Code we were listening for changes in position value and if it's 0, that means the animation ended and we can remove the screen.
In Reanimated v2 we don't have Animated.Code so I used a callback passed to withTiming. When the animation finishes and the position is 0, then remove the screen.
Then removeScreen function now takes a key as an argument in order to pass nicely it to the withTiming callback, but it works the same.
Details
Details
Long press on messages and edit members, threads buttons to show some tooltips. Verify that the screens are correctly removed.
Depends on D14102
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable