equal
deleted
inserted
replaced
195 // remove the current preview and title |
195 // remove the current preview and title |
196 [self setImage:nil forState:UIControlStateNormal]; |
196 [self setImage:nil forState:UIControlStateNormal]; |
197 [self setTitle:nil forState:UIControlStateNormal]; |
197 [self setTitle:nil forState:UIControlStateNormal]; |
198 |
198 |
199 // don't display preview on slower device, too slow and memory hog |
199 // don't display preview on slower device, too slow and memory hog |
200 if (IS_NOT_POWERFUL()) { |
200 if (IS_NOT_POWERFUL(getModelType())) { |
201 [self setTitle:NSLocalizedString(@"Preview not available",@"") forState:UIControlStateNormal]; |
201 [self setTitle:NSLocalizedString(@"Preview not available",@"") forState:UIControlStateNormal]; |
202 [self turnOnWidgets]; |
202 [self turnOnWidgets]; |
203 } else { |
203 } else { |
204 // add a very nice spinning wheel |
204 // add a very nice spinning wheel |
205 UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] |
205 UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] |