mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:28:47 -04:00
coding on my phone
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user