Swiftgram/LegacyComponents/TGProxyWindow.h
2018-11-11 20:12:33 +04:00

22 lines
425 B
Objective-C

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