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

View File

@@ -187,7 +187,7 @@ static const NSInteger YTLiteSection = 789;
} }
} }
[settingsViewController reloadData]; [settingsViewController reloadData];
SHOW_RELAUNCH_YT_SNACKBAR; // Show a confirmation message or perform some other action here
} }
}]]; }]];
[settingsViewController presentViewController:confirmPasteAlert animated:YES completion:nil]; [settingsViewController presentViewController:confirmPasteAlert animated:YES completion:nil];
@@ -197,7 +197,7 @@ static const NSInteger YTLiteSection = 789;
]; ];
[sectionItems addObject:pasteSettings]; [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) YTSettingsSectionItem *appIcon = [%c(YTSettingsSectionItem)