mirror of
https://github.com/Jellify-Music/App.git
synced 2026-03-20 12:13:15 -05:00
30 lines
1.6 KiB
Diff
30 lines
1.6 KiB
Diff
diff --git a/node_modules/react-native-blurhash/android/src/main/java/com/mrousavy/blurhash/BlurhashViewManager.kt b/node_modules/react-native-blurhash/android/src/main/java/com/mrousavy/blurhash/BlurhashViewManager.kt
|
|
index 9224e9a..193540b 100644
|
|
--- a/node_modules/react-native-blurhash/android/src/main/java/com/mrousavy/blurhash/BlurhashViewManager.kt
|
|
+++ b/node_modules/react-native-blurhash/android/src/main/java/com/mrousavy/blurhash/BlurhashViewManager.kt
|
|
@@ -108,7 +108,7 @@ class BlurhashViewManager :
|
|
return image
|
|
}
|
|
|
|
- override fun getExportedCustomDirectEventTypeConstants(): MutableMap<String, Any>? {
|
|
+ override fun getExportedCustomDirectEventTypeConstants(): Map<String, Any>? {
|
|
return MapBuilder.builder<String, Any>()
|
|
.put(LoadErrorEvent.EVENT_NAME, MapBuilder.of("registrationName", "onLoadError"))
|
|
.put(LoadStartEvent.EVENT_NAME, MapBuilder.of("registrationName", "onLoadStart"))
|
|
diff --git a/node_modules/react-native-blurhash/ios/BlurhashViewManager.swift b/node_modules/react-native-blurhash/ios/BlurhashViewManager.swift
|
|
index a22972f..8415cdc 100644
|
|
--- a/node_modules/react-native-blurhash/ios/BlurhashViewManager.swift
|
|
+++ b/node_modules/react-native-blurhash/ios/BlurhashViewManager.swift
|
|
@@ -88,6 +88,11 @@ final class BlurhashViewWrapper: UIView, BlurhashViewDelegate {
|
|
blurhashView.frame = frame
|
|
}
|
|
|
|
+ override func layoutSubviews() {
|
|
+ super.layoutSubviews()
|
|
+ blurhashView.frame = bounds
|
|
+ }
|
|
+
|
|
override func didSetProps(_: [String]!) {
|
|
blurhashView.finalizeUpdates()
|
|
}
|