#import "TGMediaPickerGalleryPhotoItem.h" #import "TGMediaPickerGalleryPhotoItemView.h" #import "TGMediaAsset+TGMediaEditableItem.h" @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; } - (Class)viewClass { return [TGMediaPickerGalleryPhotoItemView class]; } @end