1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGModernMediaListModel.m
2015-10-01 19:19:52 +03:00

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