Skip to content

Commit

Permalink
fix: Fix incorrect syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVann committed Jun 28, 2019
1 parent 7dc1e65 commit 11f6047
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/FastImage/FFFastImageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,20 @@ - (void)sendOnLoad:(UIImage *)image {
- (void)setSource:(FFFastImageSource *)source {
if (_source != source) {
_source = source;
needsReload = YES;
_needsReload = YES;
}
}

- (void)didSetProps:(NSArray<NSString *> *)changedProps
{
if (needsReload) {
if (_needsReload) {
[self reloadImage];
}
}

- (void)reloadImage
{
needsReload = NO;
_needsReload = NO;

if (_source) {

Expand Down

0 comments on commit 11f6047

Please sign in to comment.