Fix Center YouTube Logo

This commit is contained in:
arichornlover 2023-11-26 21:46:07 -06:00 committed by GitHub
parent 0b04b91ef2
commit 3cfdf5ac8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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