mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Revert "fix compability of display image again"
This reverts commit ec8039154c.
This commit is contained in:
parent
d73a5ff333
commit
f820b9328c
1 changed files with 1 additions and 3 deletions
|
|
@ -191,9 +191,7 @@ static const CGFloat CELL_IMAGE_X_MARGIN = 100;
|
||||||
NSString *fileType = [NSString stringWithUTF8String:linphone_content_get_type(fileContent)];
|
NSString *fileType = [NSString stringWithUTF8String:linphone_content_get_type(fileContent)];
|
||||||
NSString *fileName = [NSString stringWithUTF8String:linphone_content_get_name(fileContent)];
|
NSString *fileName = [NSString stringWithUTF8String:linphone_content_get_name(fileContent)];
|
||||||
NSString *filePath = [[LinphoneManager cacheDirectory] stringByAppendingPathComponent:fileName];
|
NSString *filePath = [[LinphoneManager cacheDirectory] stringByAppendingPathComponent:fileName];
|
||||||
if (![[NSFileManager defaultManager] fileExistsAtPath:filePath]) {
|
|
||||||
filePath = [[LinphoneManager cacheDirectory] stringByAppendingPathComponent:(localImage?:(localVideo?:localFile))];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ([[NSFileManager defaultManager] fileExistsAtPath:filePath]) {
|
if ([[NSFileManager defaultManager] fileExistsAtPath:filePath]) {
|
||||||
// already downloaded
|
// already downloaded
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue