File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ - (void)setResizeMode:(RCTResizeMode)resizeMode
16
16
17
17
- (void )setOnFastImageLoadEnd : (RCTBubblingEventBlock)onFastImageLoadEnd {
18
18
_onFastImageLoadEnd = onFastImageLoadEnd;
19
-
20
19
if (hasCompleted) {
21
20
_onFastImageLoadEnd (@{});
22
21
}
@@ -29,7 +28,6 @@ - (void)setOnFastImageLoad:(RCTBubblingEventBlock)onFastImageLoad {
29
28
}
30
29
}
31
30
32
-
33
31
- (void )setOnFastImageError : (RCTDirectEventBlock)onFastImageError {
34
32
_onFastImageError = onFastImageError;
35
33
if (hasErrored) {
@@ -50,9 +48,6 @@ - (void)setOnFastImageLoadStart:(RCTBubblingEventBlock)onFastImageLoadStart {
50
48
51
49
- (void )setSource : (FFFastImageSource *)source {
52
50
if (_source != source) {
53
- isComplete = NO ;
54
- hasError = NO ;
55
-
56
51
_source = source;
57
52
58
53
// Set headers.
@@ -99,7 +94,6 @@ - (void)setSource:(FFFastImageSource *)source {
99
94
NSError * _Nullable error,
100
95
SDImageCacheType cacheType,
101
96
NSURL * _Nullable imageURL) {
102
- isComplete = YES ;
103
97
if (error) {
104
98
hasErrored = YES ;
105
99
if (_onFastImageError) {
You can’t perform that action at this time.
0 commit comments