Update settings export #380

Merged
bhackel merged 8 commits from update-settings-export into main 2024-08-27 06:33:40 +00:00
Showing only changes of commit 5fb849297a - Show all commits

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;