mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
+ Improved Persistence handling.
This commit is contained in:
@@ -458,6 +458,7 @@
|
||||
|
||||
if (self.selectedAttachmentIndex != NSNotFound){
|
||||
BITFeedbackMessageAttachment* attachment = [self.attachments objectAtIndex:self.selectedAttachmentIndex];
|
||||
[attachment deleteContents]; // mandatory call to delete the files associatd.
|
||||
[self.attachments removeObject:attachment];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user