Commit 3414292
authored
fix(android): fix LinearGradient when enabling RN props 2.0 (#2949)
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect -->
# Summary
This is a follow up after the following PR. Please read this PR first to
understand the context:
- #2948
This fixes the default value for `LinearGradient`, which is especially
important when enabling props 2.0 diffing mode.
## Test Plan
### What's required for testing (prerequisites)?
Try to set the feature flags i mentioned and then observe the issues
with linear gradient
### What are the steps to reproduce (after prerequisites)?
^
## Compatibility
| OS | Implemented |
| ------- | :---------: |
| iOS | ❌ |
| MacOS | ❌ |
| Android | ✅ |
| Web | ❌ |
## Checklist
<!-- Check completed item, when applicable, via: [X] -->
- [x] I have tested this on a device and a simulator
- [x] I added documentation in `README.md`
- [x] I updated the typed files (typescript)
- [x] I added a test for the API in the `__tests__` folder1 parent bc005aa commit 3414292
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments