mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Disable drawing in sign up screen
This commit is contained in:
@@ -951,7 +951,11 @@ const CGFloat TGPhotoAvatarPreviewLandscapePanelSize = TGPhotoAvatarPreviewPanel
|
||||
|
||||
- (TGPhotoEditorTab)availableTabs
|
||||
{
|
||||
return TGPhotoEditorRotateTab | TGPhotoEditorMirrorTab | TGPhotoEditorPaintTab | TGPhotoEditorToolsTab;
|
||||
TGPhotoEditorTab tabs = TGPhotoEditorRotateTab | TGPhotoEditorMirrorTab | TGPhotoEditorToolsTab;
|
||||
if (self.intent != TGPhotoEditorControllerSignupAvatarIntent) {
|
||||
tabs |= TGPhotoEditorPaintTab;
|
||||
}
|
||||
return tabs;
|
||||
}
|
||||
|
||||
- (TGPhotoEditorTab)activeTab
|
||||
|
||||
Reference in New Issue
Block a user