mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-08 19:10:53 +00:00
Fix passport photo crash
This commit is contained in:
parent
92270b6299
commit
2d19ef579d
@ -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…
x
Reference in New Issue
Block a user