From cf6ce0cff83e7d8edcc9c0a1e54f22a88e45ac24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Mets=C3=A4nheimo?= Date: Wed, 9 Oct 2024 12:54:15 +0300 Subject: [PATCH] remove redundant whitespace canges --- .../com/candlefinance/fasterimage/FasterImageViewManager.kt | 3 +-- ios/FasterImageViewManager.swift | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/candlefinance/fasterimage/FasterImageViewManager.kt b/android/src/main/java/com/candlefinance/fasterimage/FasterImageViewManager.kt index baf6707..fc32aab 100644 --- a/android/src/main/java/com/candlefinance/fasterimage/FasterImageViewManager.kt +++ b/android/src/main/java/com/candlefinance/fasterimage/FasterImageViewManager.kt @@ -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, @@ -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. diff --git a/ios/FasterImageViewManager.swift b/ios/FasterImageViewManager.swift index b2d4956..85f7d52 100644 --- a/ios/FasterImageViewManager.swift +++ b/ios/FasterImageViewManager.swift @@ -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 {