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

23 lines
631 B
Mathematica
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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