mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
27 lines
631 B
Mathematica
27 lines
631 B
Mathematica
|
#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
|