Skip to content

Commit 3530262

Browse files
committed
Fix support on YouTube 20.08.3
1 parent 92dee5a commit 3530262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tweak.x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ static void DEMC_centerRenderingView();
159159
// (i.e. if -(void)removeEngagementPanelViewControllerWithIdentifier:(id) was called prior)
160160
if (![self isPeekingSupported] && !isEngagementPanelViewControllerRemoved) {
161161
isEngagementPanelVisible = NO;
162-
if ([self isLandscapeEngagementPanel] && !isZoomedToFill) {
162+
if (([self respondsToSelector:@selector(isWatchLandscapeEngagementPanel)] ? self.watchLandscapeEngagementPanel : self.landscapeEngagementPanel) && !isZoomedToFill) {
163163
DEMC_activateConstraints();
164164
}
165165
}

0 commit comments

Comments
 (0)