Skip to content

Commit

Permalink
Update submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
PoomSmart committed Dec 7, 2024
1 parent 4b96d7f commit 7d74e03
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
12 changes: 7 additions & 5 deletions Sources/uYouPlusSettings.xm
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,15 @@ extern NSBundle *uYouPlusBundle();

// Settings
%hook YTAppSettingsPresentationData
+ (NSArray *)settingsCategoryOrder {
NSArray *order = %orig;
NSMutableArray *mutableOrder = [order mutableCopy];
+ (NSArray <NSNumber *> *)settingsCategoryOrder {
NSArray <NSNumber *> *order = %orig;
NSUInteger insertIndex = [order indexOfObject:@(1)];
if (insertIndex != NSNotFound)
if (insertIndex != NSNotFound) {
NSMutableArray <NSNumber *> *mutableOrder = [order mutableCopy];
[mutableOrder insertObject:@(uYouPlusSection) atIndex:insertIndex + 1];
return mutableOrder;
order = mutableOrder.copy;
}
return order;
}
%end

Expand Down
2 changes: 1 addition & 1 deletion Tweaks/YTVideoOverlay
Submodule YTVideoOverlay updated 2 files
+1 −1 Makefile
+27 −11 Tweak.x
2 changes: 1 addition & 1 deletion Tweaks/YouMute
Submodule YouMute updated 1 files
+1 −1 Makefile
2 changes: 1 addition & 1 deletion Tweaks/YouPiP
Submodule YouPiP updated 2 files
+1 −1 Makefile
+7 −4 Settings.x
2 changes: 1 addition & 1 deletion Tweaks/YouQuality
Submodule YouQuality updated 3 files
+1 −2 Makefile
+0 −27 Tweak.x
+2 −2 control
2 changes: 1 addition & 1 deletion Tweaks/YouTubeHeader

0 comments on commit 7d74e03

Please sign in to comment.