Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 9 years ago
parent bf2db32f85
commit 97210b4073

@ -107,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN
NSDictionary *userinfo = [notification userInfo];
double progress = [[userinfo objectForKey:kAttachmentUploadProgressKey] doubleValue];
NSString *attachmentID = [userinfo objectForKey:kAttachmentUploadAttachmentIDKey];
if ([self.attachment.uniqueId isEqualToString:attachmentID]) {
if ([self.attachment.uniqueId isEqual:attachmentID]) {
if (!isnan(progress)) {
[_progressView setProgress:progress];
self.isAttachmentReady = self.attachment.isUploaded;

Loading…
Cancel
Save