mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix crash of download images
This commit is contained in:
parent
695896987e
commit
82de302e46
2 changed files with 3 additions and 3 deletions
|
|
@ -77,7 +77,7 @@
|
|||
}
|
||||
bctbx_list_free_with_data(head, (bctbx_list_free_func)linphone_event_log_unref);
|
||||
|
||||
for (FileTransferDelegate *ftd in [LinphoneManager.instance fileTransferDelegates]) {
|
||||
/*for (FileTransferDelegate *ftd in [LinphoneManager.instance fileTransferDelegates]) {
|
||||
const LinphoneAddress *ftd_peer =
|
||||
linphone_chat_room_get_peer_address(linphone_chat_message_get_chat_room(ftd.message));
|
||||
const LinphoneAddress *peer = linphone_chat_room_get_peer_address(_chatRoom);
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
LOGI(@"Appending transient upload message %p", ftd.message);
|
||||
//TODO : eventList = bctbx_list_append(eventList, linphone_chat_message_ref(ftd.event));
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
- (void)refreshData {
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ static const CGFloat CELL_IMAGE_X_MARGIN = 100;
|
|||
_playButton.hidden = ![type isEqualToString:@"video"];
|
||||
_fileName.hidden = _fileView.hidden = _fileButton.hidden = localFile ? NO : YES;
|
||||
// Should fix cell not resizing after doanloading image.
|
||||
[self layoutSubviews];
|
||||
//[self layoutSubviews];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue