Skip to content

Commit

Permalink
Update uYouPlus.xm
Browse files Browse the repository at this point in the history
  • Loading branch information
aricloverEXALT authored Dec 19, 2024
1 parent beb869c commit 83c54de
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Sources/uYouPlus.xm
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,13 @@ NSBundle *tweakBundle = uYouPlusBundle();

YTIPivotBarItemRenderer *itemBar = [[%c(YTIPivotBarItemRenderer) alloc] init];
[itemBar setPivotIdentifier:@"FEnotifications_inbox"];

YTIIcon *selectedIcon = [[YTIIcon alloc] init];
selectedIcon.iconType = NOTIFICATIONS;

YTIIcon *unselectedIcon = [[YTIIcon alloc] init];
unselectedIcon.iconType = NOTIFICATIONS_NONE;


[itemBar setIcon:selectedIcon];
[itemBar setIcon:unselectedIcon];

[itemBar setNavigationEndpoint:command];

YTIFormattedString *formatString = [%c(YTIFormattedString) formattedStringWithString:@"Notifications"];
[itemBar setTitle:formatString];

Expand All @@ -75,6 +70,7 @@ NSBundle *tweakBundle = uYouPlusBundle();
%orig(renderer);
}
%end

%hook YTBrowseViewController
- (void)viewDidLoad {
%orig;
Expand Down

0 comments on commit 83c54de

Please sign in to comment.