From 1ef2c66331df3d5cd7087ff3cce056c85a15c6c9 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Thu, 25 Jun 2020 19:03:19 +0300 Subject: [PATCH] Video avatar fixes --- .../LegacyComponents/Sources/TGMediaAvatarMenuMixin.m | 9 --------- .../LegacyComponents/Sources/TGPhotoEditorController.m | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/submodules/LegacyComponents/Sources/TGMediaAvatarMenuMixin.m b/submodules/LegacyComponents/Sources/TGMediaAvatarMenuMixin.m index 332ad22ac9..1e65621ab8 100644 --- a/submodules/LegacyComponents/Sources/TGMediaAvatarMenuMixin.m +++ b/submodules/LegacyComponents/Sources/TGMediaAvatarMenuMixin.m @@ -501,15 +501,6 @@ if (strongController != nil && strongController.dismissalBlock != nil) strongController.dismissalBlock(); }; - if (strongSelf.requestSearchController != nil) { - controller.requestSearchController = ^ - { - __strong TGMediaAvatarMenuMixin *strongSelf = weakSelf; - __strong TGMediaAssetsController *strongController = weakController; - if (strongSelf != nil) - strongSelf.requestSearchController(strongController); - }; - } return presentBlock(controller); }; diff --git a/submodules/LegacyComponents/Sources/TGPhotoEditorController.m b/submodules/LegacyComponents/Sources/TGPhotoEditorController.m index 4f7dde7a2a..9d215c9276 100644 --- a/submodules/LegacyComponents/Sources/TGPhotoEditorController.m +++ b/submodules/LegacyComponents/Sources/TGPhotoEditorController.m @@ -630,12 +630,12 @@ { [UIView animateWithDuration:0.3 animations:^ { - //[_context setApplicationStatusBarAlpha:1.0f]; + [_context setApplicationStatusBarAlpha:1.0f]; }]; } else { - //[_context setApplicationStatusBarAlpha:1.0f]; + [_context setApplicationStatusBarAlpha:1.0f]; } }