You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/drawable/BackgroundImageDrawable.kt
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -137,9 +137,9 @@ internal class BackgroundImageDrawable(
137
137
// So we draw in reverse (last drawn in canvas appears closest)
138
138
for (index in layers.indices.reversed()) {
139
139
val backgroundImageLayer = layers[index]
140
-
val size = backgroundSize?.let { it.getOrNull(index % it.size) }
141
-
val repeat = backgroundRepeat?.let { it.getOrNull(index % it.size) }
142
-
val position = backgroundPosition?.let { it.getOrNull(index % it.size) }
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/drawable/BackgroundImageURLLoader.kt
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/style/BackgroundImageLayer.kt
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@
8
8
packagecom.facebook.react.uimanager.style
9
9
10
10
importandroid.content.Context
11
-
importandroid.graphics.Bitmap
12
11
importandroid.graphics.Shader
13
12
importcom.facebook.react.bridge.ReadableMap
14
13
importcom.facebook.react.bridge.ReadableType
@@ -18,9 +17,7 @@ public sealed class BackgroundImageLayer {
0 commit comments