Commit e00c697
Fix FieldsBelowInit: Move viewportOffset property above init block (facebook#55358)
Summary:
Fixed FieldsBelowInit lint error in ReactSurfaceView.kt.
Moved the viewportOffset property declaration above the init block to ensure proper initialization order and satisfy Kotlin best practices for property declarations.
changelog: [internal] internal
Reviewed By: cortinico
Differential Revision: D917321841 parent 8d7cebd commit e00c697
File tree
1 file changed
+14
-14
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime
1 file changed
+14
-14
lines changedLines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
48 | 62 | | |
49 | 63 | | |
50 | 64 | | |
| |||
105 | 119 | | |
106 | 120 | | |
107 | 121 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments