Fix bug with reminder again

This commit is contained in:
Bryce Hackel 2024-08-26 23:12:24 -07:00 committed by GitHub
parent 09721d4b3a
commit 5fb849297a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,12 +156,8 @@ static const NSInteger YTLiteSection = 789;
// Export YouTube Plus Settings functionality
[%c(YTLUserDefaults) exportYtlSettings];
}]];
// Get the root view controller
UIViewController *rootViewController = [UIApplication sharedApplication].keyWindow.rootViewController;
// Present the alert from the root view controller
[rootViewController presentViewController:exportAlert animated:YES completion:nil];
[settingsViewController presentViewController:exportAlert animated:YES completion:nil];
}
return YES;