mirror of
https://github.com/danog/Telegram.git
synced 2024-12-11 08:59:48 +01:00
20 lines
377 B
Objective-C
20 lines
377 B
Objective-C
#import "TGChatsInfoRowController.h"
|
|
#import "TGChatInfo.h"
|
|
|
|
NSString *const TGChatsInfoRowIdentifier = @"TGChatsInfoRow";
|
|
|
|
@implementation TGChatsInfoRowController
|
|
|
|
- (void)updateWithChatInfo:(TGChatInfo *)chatInfo
|
|
{
|
|
self.titleLabel.text = chatInfo.title;
|
|
self.textLabel.text = chatInfo.text;
|
|
}
|
|
|
|
+ (NSString *)identifier
|
|
{
|
|
return TGChatsInfoRowIdentifier;
|
|
}
|
|
|
|
@end
|