Permalink
Browse files

[UI] Don't replace a non-nil image with the default image (prevents f…

…lickering).
  • Loading branch information...
eventualbuddha authored and jverkoey committed Feb 18, 2011
1 parent ea82e78 commit e34bb3d04469bba478ec59ee32fa1acb221f34e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Three20UI/Sources/TTImageView.m
@@ -209,7 +209,7 @@ - (void)reload {
if (![request send]) {
// Put the default image in place while waiting for the request to load
- if (_defaultImage && self.image != _defaultImage) {
+ if (_defaultImage && nil == self.image) {
self.image = _defaultImage;
}
}

0 comments on commit e34bb3d

Please sign in to comment.