Fix errors (Settings.xm)

* fixed errors, removed uYouEnhanced stuff. Sorry about that.
This commit is contained in:
arichornlover 2024-07-30 19:48:07 -05:00 committed by GitHub
parent 8f060b6fc9
commit f08e836f02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,7 +187,7 @@ static const NSInteger YTLiteSection = 789;
}
}
[settingsViewController reloadData];
SHOW_RELAUNCH_YT_SNACKBAR;
// Show a confirmation message or perform some other action here
}
}]];
[settingsViewController presentViewController:confirmPasteAlert animated:YES completion:nil];
@ -197,7 +197,7 @@ static const NSInteger YTLiteSection = 789;
];
[sectionItems addObject:pasteSettings];
SWITCH_ITEM(LOC(@"REPLACE_COPY_AND_PASTE_BUTTONS"), LOC(@"REPLACE_COPY_AND_PASTE_BUTTONS_DESC"), @"switchCopyandPasteFunctionality_enabled");
BASIC_SWITCH(LOC(@"REPLACE_COPY_AND_PASTE_BUTTONS"), LOC(@"REPLACE_COPY_AND_PASTE_BUTTONS_DESC"), @"switchCopyandPasteFunctionality_enabled");
/*
YTSettingsSectionItem *appIcon = [%c(YTSettingsSectionItem)