mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix passport photo crash
This commit is contained in:
parent
92270b6299
commit
2d19ef579d
1 changed files with 4 additions and 1 deletions
|
|
@ -49,7 +49,10 @@
|
|||
|
||||
UIView *parentView = [self _parentView];
|
||||
|
||||
id<TGCaptionPanelView> inputPanel = _stickersContext.captionPanelView();
|
||||
id<TGCaptionPanelView> inputPanel = nil;
|
||||
if (_stickersContext) {
|
||||
inputPanel = _stickersContext.captionPanelView();
|
||||
}
|
||||
_inputPanel = inputPanel;
|
||||
|
||||
__weak TGPhotoCaptionInputMixin *weakSelf = self;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue