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

21 lines
486 B
Objective-C

#import "TGLocationVenueRowController.h"
#import "TGBridgeLocationVenue.h"
NSString *const TGLocationVenueRowIdentifier = @"TGLocationVenueRow";
@implementation TGLocationVenueRowController
- (void)updateWithLocationVenue:(TGBridgeLocationVenue *)locationVenue
{
self.nameLabel.text = locationVenue.name;
self.addressLabel.text = locationVenue.address.length > 0 ? locationVenue.address : @" ";
}
+ (NSString *)identifier
{
return TGLocationVenueRowIdentifier;
}
@end