Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor medium detent iOS implementation (#1699)
## Description Earlier when calling `updatePresentationStyle` in `RNSScreen` we have relied on order of method calls and kept our fingers crossed that the order would not be violated with future changes. Now we leverage `finalizeUpdates:` method from `RCTComponentViewProtocol` which is called after all updates are applied to the component. For broader context see #1649 (comments). ## Changes Moved call to `updatePresentationStyle` from `updateProps` to `finalizeUpdates`. ## Test code and steps to reproduce See `Test1649` (everything should work as before) ## Checklist - [x] Ensured that CI passes (iOS e2e is a known issue)
- Loading branch information