#import #import "TGMediaPickerGalleryPhotoItemView.h" #import @implementation TGMediaPickerGalleryPhotoItem @synthesize selectionContext; @synthesize editingContext; @synthesize stickersContext; - (NSString *)uniqueId { return self.asset.uniqueIdentifier; } - (id)selectableMediaItem { return self.asset; } - (id)editableMediaItem { return self.asset; } - (TGPhotoEditorTab)toolbarTabs { return TGPhotoEditorCropTab | TGPhotoEditorToolsTab | TGPhotoEditorPaintTab | TGPhotoEditorQualityTab; } - (Class)viewClass { return [TGMediaPickerGalleryPhotoItemView class]; } @end