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]; } }