mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add option to hide "Add Image" attachment button
This commit is contained in:
@@ -248,7 +248,9 @@
|
||||
|
||||
[self.textAccessoryView addSubview:self.addPhotoButton];
|
||||
|
||||
self.textView.inputAccessoryView = self.textAccessoryView;
|
||||
if (!self.hideImageAttachmentButton) {
|
||||
self.textView.inputAccessoryView = self.textAccessoryView;
|
||||
}
|
||||
|
||||
// This could be a subclass, yet
|
||||
self.attachmentScrollView = [[UIScrollView alloc] initWithFrame:CGRectZero];
|
||||
|
||||
Reference in New Issue
Block a user