mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Increase photo editor preview resolution
This commit is contained in:
@@ -502,13 +502,10 @@ NSString * const TGPhotoCropOriginalAspectRatio = @"original";
|
||||
|
||||
- (id)currentResultRepresentation
|
||||
{
|
||||
if (_transitionOutView != nil && [_transitionOutView isKindOfClass:[UIImageView class]])
|
||||
{
|
||||
if (_transitionOutView != nil && [_transitionOutView isKindOfClass:[UIImageView class]]) {
|
||||
return ((UIImageView *)_transitionOutView).image;
|
||||
}
|
||||
else
|
||||
{
|
||||
return [_cropView croppedImageWithMaxSize:CGSizeMake(750, 750)];
|
||||
} else {
|
||||
return [_cropView croppedImageWithMaxSize:TGPhotoEditorScreenImageMaxSize()];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user