2020-02-22 15:38:54 +04:00

22 lines
477 B
Objective-C

#import <UIKit/UIKit.h>
#import <LegacyComponents/TGOverlayControllerWindow.h>
@interface TGProxyWindowController : TGOverlayWindowViewController
- (instancetype)initWithLight:(bool)light text:(NSString *)text shield:(bool)shield star:(bool)star;
- (void)dismissWithSuccess:(void (^)(void))completion increasedDelay:(bool)increasedDelay;
- (void)updateLayout;
@end
@interface TGProxyWindow : UIWindow
- (void)dismissWithSuccess;
+ (void)setDarkStyle:(bool)dark;
@end