Skip to content

Commit 0de9250

Browse files
committed
fix(android): fix fadeDuration=0 not working w/ props 2.0 diffing
1 parent 4356259 commit 0de9250

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native/ReactCommon/react/renderer/components/image

1 file changed

+1
-1
lines changed

packages/react-native/ReactCommon/react/renderer/components/image/ImageProps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ImageProps final : public ViewProps {
3737
Float resizeMultiplier{1.f};
3838
bool shouldNotifyLoadEvents{};
3939
SharedColor overlayColor{};
40-
Float fadeDuration{};
40+
Float fadeDuration{-1.f};
4141
bool progressiveRenderingEnabled{};
4242

4343
#ifdef RN_SERIALIZABLE_STATE

0 commit comments

Comments
 (0)