mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Merge commit '6a495f84c6bef56b554526218b26795fc0e15488' into beta
This commit is contained in:
commit
41cbce1cc9
@ -193,24 +193,24 @@
|
|||||||
}];
|
}];
|
||||||
[itemViews addObject:galleryItem];
|
[itemViews addObject:galleryItem];
|
||||||
|
|
||||||
if (_hasSearchButton)
|
// if (_hasSearchButton)
|
||||||
{
|
// {
|
||||||
TGMenuSheetButtonItemView *viewItem = [[TGMenuSheetButtonItemView alloc] initWithTitle:TGLocalized(@"ProfilePhoto.SearchWeb") type:TGMenuSheetButtonTypeDefault fontSize:20.0 action:^
|
// TGMenuSheetButtonItemView *viewItem = [[TGMenuSheetButtonItemView alloc] initWithTitle:TGLocalized(@"ProfilePhoto.SearchWeb") type:TGMenuSheetButtonTypeDefault fontSize:20.0 action:^
|
||||||
{
|
// {
|
||||||
__strong TGMediaAvatarMenuMixin *strongSelf = weakSelf;
|
// __strong TGMediaAvatarMenuMixin *strongSelf = weakSelf;
|
||||||
if (strongSelf == nil)
|
// if (strongSelf == nil)
|
||||||
return;
|
// return;
|
||||||
|
//
|
||||||
__strong TGMenuSheetController *strongController = weakController;
|
// __strong TGMenuSheetController *strongController = weakController;
|
||||||
if (strongController == nil)
|
// if (strongController == nil)
|
||||||
return;
|
// return;
|
||||||
|
//
|
||||||
[strongController dismissAnimated:true];
|
// [strongController dismissAnimated:true];
|
||||||
if (strongSelf != nil)
|
// if (strongSelf != nil)
|
||||||
strongSelf.requestSearchController(nil);
|
// strongSelf.requestSearchController(nil);
|
||||||
}];
|
// }];
|
||||||
[itemViews addObject:viewItem];
|
// [itemViews addObject:viewItem];
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (_hasViewButton)
|
if (_hasViewButton)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user