1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 08:59:48 +01:00
Telegram/Watch/Extension/TGChatsInfoRowController.m
2015-10-01 19:19:52 +03:00

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