mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
21 lines
1.0 KiB
Objective-C
21 lines
1.0 KiB
Objective-C
#import <LegacyComponents/LegacyComponents.h>
|
|
|
|
@interface TGChannelIntroControllerTheme : NSObject
|
|
|
|
@property (nonatomic, strong, readonly) UIColor *backgroundColor;
|
|
@property (nonatomic, strong, readonly) UIColor *primaryColor;
|
|
@property (nonatomic, strong, readonly) UIColor *secondaryColor;
|
|
@property (nonatomic, strong, readonly) UIColor *accentColor;
|
|
@property (nonatomic, strong, readonly) UIImage *backArrowImage;
|
|
@property (nonatomic, strong, readonly) UIImage *introImage;
|
|
|
|
- (instancetype)initWithBackgroundColor:(UIColor *)backgroundColor primaryColor:(UIColor *)primaryColor secondaryColor:(UIColor *)secondaryColor accentColor:(UIColor *)accentColor backArrowImage:(UIImage *)backArrowImage introImage:(UIImage *)introImage;
|
|
|
|
@end
|
|
|
|
@interface TGChannelIntroController : TGViewController
|
|
|
|
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context getLocalizedString:(NSString *(^)(NSString *))getLocalizedString theme:(TGChannelIntroControllerTheme *)theme completion:(void (^)(void))completion;
|
|
|
|
@end
|