From 3cfdf5ac8e9e3ee9f1b707203706ea109fd7dfb6 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:46:07 -0600 Subject: [PATCH] Fix `Center YouTube Logo` --- uYouPlus.xm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index ecf13a2..ca6a425 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -161,7 +161,14 @@ static void repositionCreateTab(YTIGuideResponse *response) { %group gCenterYouTubeLogo %hook YTNavigationBarTitleView -- (BOOL)shouldCenterNavBarTitleView { return YES; } +- (void)setShouldCenterNavBarTitleView:(BOOL)center { + %orig(YES); +} +- (BOOL)shouldCenterNavBarTitleView { + return YES; +} +- (void)alignCustomViewToCenterOfWindow { +} %end %end