mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Photo editor fixes
This commit is contained in:
@@ -543,7 +543,7 @@ const CGFloat TGPhotoPaintStickerKeyboardSize = 260.0f;
|
||||
- (TGPhotoEditorTab)availableTabs
|
||||
{
|
||||
TGPhotoEditorTab result = TGPhotoEditorPaintTab | TGPhotoEditorEraserTab | TGPhotoEditorTextTab;
|
||||
if (_enableStickers) {
|
||||
if (_enableStickers && _stickersContext != nil) {
|
||||
result |= TGPhotoEditorStickerTab;
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user