Skip to content

Commit 1ce41f4

Browse files
generatedunixname978985251205963meta-codesync[bot]
authored andcommitted
Add optional=true to nullable @prop in fbandroid/libraries/fresco/vito/litho/src/main/java/com/facebook/fresco/vito/litho/FrescoVitoTapToRetryImageSpec.kt
Reviewed By: ianlevesque Differential Revision: D107980049 fbshipit-source-id: 5a9ec5fa981235fd29f8e54b5e690a96aef62616
1 parent d32393f commit 1ce41f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vito/litho/src/main/java/com/facebook/fresco/vito/litho/FrescoVitoTapToRetryImageSpec.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ object FrescoVitoTapToRetryImageSpec {
6767
@OnCreateLayout
6868
fun onCreateLayout(
6969
c: ComponentContext,
70-
@Prop imageSource: ImageSource?,
70+
@Prop(optional = true) imageSource: ImageSource?,
7171
@Prop(optional = true) fallbackImageSource: ImageSource?,
7272
@Prop(optional = true) callerContext: Any?,
7373
@Prop(optional = true, resType = ResType.FLOAT) imageAspectRatio: Float,

0 commit comments

Comments
 (0)