This commit is contained in:
2025-11-03 20:02:11 +08:00
parent cac2f13b88
commit 5af2612ff7
8 changed files with 26 additions and 41 deletions

View File

@@ -11,10 +11,8 @@ NS_ASSUME_NONNULL_BEGIN
@interface KBLoginSheetViewController : UIViewController
/// Called when the login finished successfully; sheet will dismiss itself as well.
@property (nonatomic, copy, nullable) void (^onLoginSuccess)(void);
/// Present the sheet from a top most view controller.
+ (void)presentIfNeededFrom:(UIViewController *)presenting;
@end