mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
23 lines
631 B
Objective-C
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
|