Update uYouPlusSettings.xm

This commit is contained in:
arichornlover 2024-06-09 21:05:17 -05:00 committed by GitHub
parent de59708a3c
commit 6e95fc554f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -202,7 +202,7 @@ extern NSBundle *uYouPlusBundle();
if (IS_ENABLED(@"replaceCopyandPasteButtons_enabled")) {
// Export Settings functionality
NSURL *tempFileURL = [NSURL fileURLWithPath:[NSTemporaryDirectory() stringByAppendingPathComponent:@"exported_settings.txt"]];
NSMutableString *settingsString = [NSMutableNSMutableString string];
NSMutableString *settingsString = [NSMutableString string];
for (NSString *key in copyKeys) {
id value = [[NSUserDefaults standardUserDefaults] objectForKey:key];
if (value) {
@ -264,7 +264,7 @@ extern NSBundle *uYouPlusBundle();
[settingsViewController reloadData];
SHOW_RELAUNCH_YT_SNACKBAR;
}
}];
}]];
[settingsViewController presentViewController:confirmPasteAlert animated:YES completion:nil];
}
return YES;