Skip to content

Commit 11f6047

Browse files
committed
fix: Fix incorrect syntax.
1 parent 7dc1e65 commit 11f6047

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ios/FastImage/FFFastImageView.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,20 @@ - (void)sendOnLoad:(UIImage *)image {
9898
- (void)setSource:(FFFastImageSource *)source {
9999
if (_source != source) {
100100
_source = source;
101-
needsReload = YES;
101+
_needsReload = YES;
102102
}
103103
}
104104

105105
- (void)didSetProps:(NSArray<NSString *> *)changedProps
106106
{
107-
if (needsReload) {
107+
if (_needsReload) {
108108
[self reloadImage];
109109
}
110110
}
111111

112112
- (void)reloadImage
113113
{
114-
needsReload = NO;
114+
_needsReload = NO;
115115

116116
if (_source) {
117117

0 commit comments

Comments
 (0)