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

23 lines
631 B
Objective-C

#import "TGReplyHeaderAudioModel.h"
#import "TGSharedVideoSignals.h"
#import "TGSharedMediaUtils.h"
#import "TGAudioMediaAttachment.h"
#import "TGSignalImageViewModel.h"
@implementation TGReplyHeaderAudioModel
- (instancetype)initWithPeer:(id)peer audioMedia:(TGAudioMediaAttachment *)__unused audioMedia incoming:(bool)incoming system:(bool)system
{
self = [super initWithPeer:peer incoming:incoming text:TGLocalized(@"Message.Audio") truncateTextInTheMiddle:false textColor:[TGReplyHeaderModel colorForMediaText:incoming] leftInset:0.0f system:system];
if (self != nil)
{
}
return self;
}
@end