coding on my phone

This commit is contained in:
Bryce Hackel
2024-09-02 20:27:38 -07:00
committed by GitHub
parent 7674805f75
commit 55494e2e91

View File

@@ -176,7 +176,7 @@ BOOL isSelf() {
- (void)presentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)flag completion:(void (^)(void))completion { - (void)presentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)flag completion:(void (^)(void))completion {
if ([NSStringFromClass([viewControllerToPresent class]) isEqualToString:@"HelperVC"]) { if ([NSStringFromClass([viewControllerToPresent class]) isEqualToString:@"HelperVC"]) {
// show a toast // show a toast
[[%c(GOOHUDManagerInternal) sharedInstance] showMessageMainThread:[%c(YTHUDMessage) messageWithText:@"Bypassing Popup"] animated:YES]; [[%c(GOOHUDManagerInternal) sharedInstance] showMessageMainThread:[%c(YTHUDMessage) messageWithText:@"Bypassing Popup"]];
// look for UIWindows of the sus type and hide them // look for UIWindows of the sus type and hide them
NSArray<UIWindow *> *windows = [UIApplication sharedApplication].windows; NSArray<UIWindow *> *windows = [UIApplication sharedApplication].windows;
for (UIWindow *window in windows) { for (UIWindow *window in windows) {