Skip to content

Commit

Permalink
Minor fixes in image request, decoded images string builder
Browse files Browse the repository at this point in the history
Reviewed By: yungsters, kartavya-ramnani

Differential Revision: D62786986

fbshipit-source-id: f6a437f36b5911dec9a42d1f434c686946a4655a
  • Loading branch information
Abbondanzo authored and facebook-github-bot committed Sep 18, 2024
1 parent d011dae commit 41b1808
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ public static ImageRequestBuilder fromRequest(ImageRequest imageRequest) {
.setShouldDecodePrefetches(imageRequest.shouldDecodePrefetches())
.setDelayMs(imageRequest.getDelayMs())
.setDiskCacheId(imageRequest.getDiskCacheId())
.setDownsampleOverride(imageRequest.getDownsampleOverride());
.setDownsampleOverride(imageRequest.getDownsampleOverride())
.setResizingAllowedOverride(imageRequest.getResizingAllowedOverride());
}

public static void addCustomUriNetworkScheme(String scheme) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ open class DecodedImageOptions(builder: Builder<*>) : EncodedImageOptions(builde
super.toStringHelper()
.add("resizeOptions", resizeOptions)
.add("downsampleOverride", downsampleOverride)
.add("rotationOptions", resizeOptions)
.add("rotationOptions", rotationOptions)
.add("postprocessor", postprocessor)
.add("imageDecodeOptions", imageDecodeOptions)
.add("roundingOptions", roundingOptions)
Expand Down

0 comments on commit 41b1808

Please sign in to comment.