Commit ec9ac81
Fix UnsafeDereference: Remove !! operators in FpsView (#56115)
Summary:
Pull Request resolved: #56115
Fixed UnsafeDereference lint warnings in FpsView.kt.
Changed the `reactContext` parameter type from `ReactContext?` to `ReactContext` since the superclass FrameLayout requires a non-null Context anyway. This eliminates the need for !! operators.
changelog: [internal] internal
Reviewed By: alanleedev
Differential Revision: D96784792
fbshipit-source-id: 7409bba7037775d24ddc83fa7981a5ad7aa86fc71 parent aab8df3 commit ec9ac81
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments