Commit 4676188
fix: remove non-null assertion on getFirstFocusableView return value
The !! operator caused a NullPointerException crash when no focusable
element was found in a view group. All callers already handle null.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 863bd33 commit 4676188
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
| 634 | + | |
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| |||
0 commit comments