|
|
@ -103,8 +103,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
NSData *fileData = [NSData dataWithContentsOfURL:[self.attachment mediaURL]];
|
|
|
|
NSData *fileData = [NSData dataWithContentsOfURL:[self.attachment mediaURL]];
|
|
|
|
if (!fileData) {
|
|
|
|
if (!fileData) {
|
|
|
|
DDLogError(@"%@ Could not load image: %@", [self tag], [self.attachment mediaURL]);
|
|
|
|
DDLogError(@"%@ Could not load image: %@", [self tag], [self.attachment mediaURL]);
|
|
|
|
OWSAssert(0);
|
|
|
|
return [UIView new];
|
|
|
|
return nil;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
FLAnimatedImage *animatedGif = [FLAnimatedImage animatedImageWithGIFData:fileData];
|
|
|
|
FLAnimatedImage *animatedGif = [FLAnimatedImage animatedImageWithGIFData:fileData];
|
|
|
|
FLAnimatedImageView *imageView = [[FLAnimatedImageView alloc] init];
|
|
|
|
FLAnimatedImageView *imageView = [[FLAnimatedImageView alloc] init];
|
|
|
|