mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-08 01:40:09 +00:00
Chat wallpaper fixes
This commit is contained in:
parent
c339bc8701
commit
e55ad91de8
@ -499,7 +499,13 @@ const CGFloat TGPhotoEditorToolsLandscapePanelSize = TGPhotoEditorToolsPanelSize
|
|||||||
|
|
||||||
[TGPhotoEditorAnimation performBlock:^(__unused bool allFinished)
|
[TGPhotoEditorAnimation performBlock:^(__unused bool allFinished)
|
||||||
{
|
{
|
||||||
|
if (self.intent == TGPhotoEditorControllerWallpaperIntent) {
|
||||||
|
TGDispatchAfter(0.3, dispatch_get_main_queue(), ^{
|
||||||
[snapshotView removeFromSuperview];
|
[snapshotView removeFromSuperview];
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
[snapshotView removeFromSuperview];
|
||||||
|
}
|
||||||
|
|
||||||
if (completion != nil)
|
if (completion != nil)
|
||||||
completion();
|
completion();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user