mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
21 lines
498 B
Objective-C
21 lines
498 B
Objective-C
#import "TGLocationVenueRowController.h"
|
|
|
|
#import <WatchCommonWatch/WatchCommonWatch.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
|