Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornloverALT committed Apr 25, 2024
1 parent bfc3fb0 commit b6d3aeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tweak.x
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,10 @@ static NSMutableArray *topControls(YTMainAppControlsOverlayView *self, NSMutable

%new(v@:@)
- (void)didPressPiP:(id)arg {
YTPlayerViewController *pvc = (YTPlayerViewController *)c.parentViewController;
YTMainAppVideoPlayerOverlayViewController *c = [self valueForKey:@"_eventsDelegate"];
FromUser = YES;
bootstrapPiP([c delegate], YES);
bootstrapPiP(pvc, YES);
}

%end
Expand Down

0 comments on commit b6d3aeb

Please sign in to comment.