mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
29 lines
420 B
Objective-C
29 lines
420 B
Objective-C
#import "TGActionMenuItem.h"
|
|
|
|
@implementation TGActionMenuItem
|
|
|
|
@synthesize title = _title;
|
|
|
|
@synthesize action = _action;
|
|
|
|
- (id)init
|
|
{
|
|
self = [super initWithType:TGActionMenuItemType];
|
|
if (self != nil)
|
|
{
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (id)initWithTitle:(NSString *)title
|
|
{
|
|
self = [super initWithType:TGActionMenuItemType];
|
|
if (self != nil)
|
|
{
|
|
_title = title;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|