-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d63fed7
commit d4df288
Showing
59 changed files
with
4,286 additions
and
2,210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
diff --git a/node_modules/@candlefinance/faster-image/ios/FasterImageViewManager.swift b/node_modules/@candlefinance/faster-image/ios/FasterImageViewManager.swift | ||
index a0b0ac6..e093754 100644 | ||
--- a/node_modules/@candlefinance/faster-image/ios/FasterImageViewManager.swift | ||
+++ b/node_modules/@candlefinance/faster-image/ios/FasterImageViewManager.swift | ||
@@ -41,7 +41,10 @@ final class FasterImageView: UIView { | ||
lazyImageView.trailingAnchor.constraint(equalTo: trailingAnchor), | ||
]) | ||
lazyImageView.pipeline = .shared | ||
- lazyImageView.priority = .high | ||
+ // 🌈🌈 | ||
+ lazyImageView.priority = .veryLow | ||
+// lazyImageView.priority = .high | ||
+ // 🌈🌈 | ||
lazyImageView.onCompletion = { [weak self] result in | ||
self?.completionHandler(with: result) | ||
} | ||
@@ -121,11 +124,7 @@ final class FasterImageView: UIView { | ||
} | ||
} | ||
|
||
- var showActivityIndicator = false { | ||
- didSet { | ||
- lazyImageView.placeholderView = UIActivityIndicatorView() | ||
- } | ||
- } | ||
+ var showActivityIndicator = false | ||
|
||
var resizeMode = "contain" { | ||
didSet { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { BlurView } from '@react-native-community/blur'; | ||
import Animated from 'react-native-reanimated'; | ||
|
||
export const AnimatedBlurView = Animated.createAnimatedComponent(BlurView); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FasterImageView } from '@candlefinance/faster-image'; | ||
import Animated from 'react-native-reanimated'; | ||
|
||
export const AnimatedFasterImage = Animated.createAnimatedComponent(FasterImageView); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import Animated from 'react-native-reanimated'; | ||
import Input from '@/components/inputs/Input'; | ||
|
||
export const AnimatedInput = Animated.createAnimatedComponent(Input); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { ScrollView } from 'react-native-gesture-handler'; | ||
import Animated from 'react-native-reanimated'; | ||
|
||
export const AnimatedScrollView = Animated.createAnimatedComponent(ScrollView); |
23 changes: 23 additions & 0 deletions
23
src/components/AnimatedComponents/extendedPropsAllowlists.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import Animated from 'react-native-reanimated'; | ||
|
||
/** | ||
* These lists extend the built-in props allowlists for Animated components. | ||
* | ||
* The default list for the latest version of Reanimated can be found here: | ||
* https://github.com/software-mansion/react-native-reanimated/blob/main/src/propsAllowlists.ts | ||
*/ | ||
|
||
/** | ||
* 🟡 Extended Native props allowlist 🟡 | ||
*/ | ||
Animated.addWhitelistedNativeProps({ | ||
defaultValue: true, // AnimatedTextInput | ||
text: true, // AnimatedTextInput | ||
}); | ||
|
||
/** | ||
* 🔵 Extended UI props allowlist 🔵 | ||
*/ | ||
Animated.addWhitelistedUIProps({ | ||
source: true, // AnimatedFasterImage | ||
}); |
Oops, something went wrong.