mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 21:16:35 +00:00
+ Resolves a scaling issue.
This commit is contained in:
parent
d3d872fb82
commit
f9b76db0d7
@ -107,7 +107,7 @@
|
||||
|
||||
- (UIImage *)imageRepresentation {
|
||||
if ([self.contentType rangeOfString:@"image"].location != NSNotFound){
|
||||
return [UIImage imageWithData:self.data scale:[UIScreen mainScreen].scale];
|
||||
return [UIImage imageWithData:self.data];
|
||||
} else {
|
||||
return bit_imageNamed(@"feedbackActiviy.png", BITHOCKEYSDK_BUNDLE); // TODO add another placeholder.
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user