UIChatBubblePhotoCell: remove debug code

This commit is contained in:
Gautier Pelloux-Prayer 2015-12-01 11:48:07 +01:00
parent f40deac05c
commit 8a461d5ddf

View file

@ -132,14 +132,6 @@
_messageImageView.hidden = _cancelButton.hidden = (_ftd.message == nil);
_downloadButton.hidden = !_cancelButton.hidden;
_fileTransferProgress.hidden = NO;
#if DEBUG
const LinphoneContent *c = linphone_chat_message_get_file_transfer_information(self.message);
if (c) {
const char *name = linphone_content_get_name(c);
[_downloadButton setTitle:[NSString stringWithUTF8String:name ?: "NULL"] forState:UIControlStateNormal];
}
#endif
}
// resize image so that it take the full bubble space available