Swiftgram/submodules/LegacyComponents/Sources/LegacyComponentsContext.m
2025-06-18 17:24:21 +02:00

20 lines
563 B
Objective-C

#import <LegacyComponents/LegacyComponentsContext.h>
@implementation LegacyComponentsActionSheetAction
- (instancetype)initWithTitle:(NSString *)title action:(NSString *)action {
return [self initWithTitle:title action:action type:LegacyComponentsActionSheetActionTypeGeneric];
}
- (instancetype)initWithTitle:(NSString *)title action:(NSString *)action type:(LegacyComponentsActionSheetActionType)type {
self = [super init];
if (self != nil) {
_title = title;
_action = action;
_type = type;
}
return self;
}
@end