mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +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)
|
||||
{
|
||||
[snapshotView removeFromSuperview];
|
||||
if (self.intent == TGPhotoEditorControllerWallpaperIntent) {
|
||||
TGDispatchAfter(0.3, dispatch_get_main_queue(), ^{
|
||||
[snapshotView removeFromSuperview];
|
||||
});
|
||||
} else {
|
||||
[snapshotView removeFromSuperview];
|
||||
}
|
||||
|
||||
if (completion != nil)
|
||||
completion();
|
||||
|
Loading…
x
Reference in New Issue
Block a user