diff --git a/Sources/uYouPlusSettings.xm b/Sources/uYouPlusSettings.xm index db34ab4..6047f4f 100644 --- a/Sources/uYouPlusSettings.xm +++ b/Sources/uYouPlusSettings.xm @@ -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;