Skip to content

Commit

Permalink
remove redundant whitespace canges
Browse files Browse the repository at this point in the history
  • Loading branch information
numsu committed Oct 9, 2024
1 parent 242e395 commit cf6ce0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ import com.facebook.react.uimanager.events.RCTEventEmitter
val headers = options.getMap("headers")
val ignoreQueryParamsForCacheKey = if (options.hasKey("ignoreQueryParamsForCacheKey")) options.getBoolean("ignoreQueryParamsForCacheKey") else false

val borderRadii = BorderRadii(
val borderRadii = BorderRadii(
uniform = if (options.hasKey("borderRadius")) options.getDouble("borderRadius") else 0.0,
topLeft = if (options.hasKey("borderTopLeftRadius")) options.getDouble("borderTopLeftRadius") else 0.0,
topRight = if (options.hasKey("borderTopRightRadius")) options.getDouble("borderTopRightRadius") else 0.0,
Expand Down Expand Up @@ -284,7 +284,6 @@ import com.facebook.react.uimanager.events.RCTEventEmitter
}
}


object ThumbHash {
/**
* Encodes an RGBA image to a ThumbHash. RGB should not be premultiplied by A.
Expand Down
1 change: 1 addition & 0 deletions ios/FasterImageViewManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ final class FasterImageView: UIView {
if let url = URL(string: options.url) {
var urlRequestFromOptions = URLRequest(url: url)
urlRequestFromOptions.allHTTPHeaderFields = options.headers

urlRequest = urlRequestFromOptions

if ignoreQueryParamsForCacheKey {
Expand Down

0 comments on commit cf6ce0c

Please sign in to comment.