mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
27 lines
631 B
Objective-C
27 lines
631 B
Objective-C
#import "TGModernMediaListModel.h"
|
|
|
|
@implementation TGModernMediaListModel
|
|
|
|
- (void)_replaceItems:(NSArray *)items totalCount:(NSUInteger)totalCount
|
|
{
|
|
TGDispatchOnMainThread(^
|
|
{
|
|
_totalCount = totalCount;
|
|
_items = items;
|
|
|
|
if (_itemsUpdated)
|
|
_itemsUpdated();
|
|
});
|
|
}
|
|
|
|
- (void)_transitionCompleted
|
|
{
|
|
}
|
|
|
|
- (TGModernGalleryController *)createGalleryControllerForItem:(id<TGModernMediaListItem>)__unused item hideItem:(void (^)(id<TGModernMediaListItem>))__unused hideItem referenceViewForItem:(UIView *(^)(id<TGModernMediaListItem>))__unused referenceViewForItem
|
|
{
|
|
return nil;
|
|
}
|
|
|
|
@end
|