Enable Reorder videos from playlist by @PoomSmart
This commit is contained in:
+8
-1
@@ -68,11 +68,18 @@ BOOL castConfirm() {
|
|||||||
BOOL ytMiniPlayer() {
|
BOOL ytMiniPlayer() {
|
||||||
return [[NSUserDefaults standardUserDefaults] boolForKey:@"ytMiniPlayer_enabled"];
|
return [[NSUserDefaults standardUserDefaults] boolForKey:@"ytMiniPlayer_enabled"];
|
||||||
}
|
}
|
||||||
BOOL hidePaidPromotionCard(){
|
BOOL hidePaidPromotionCard() {
|
||||||
return [[NSUserDefaults standardUserDefaults] boolForKey:@"hidePaidPromotionCard_enabled"];
|
return [[NSUserDefaults standardUserDefaults] boolForKey:@"hidePaidPromotionCard_enabled"];
|
||||||
}
|
}
|
||||||
|
|
||||||
# pragma mark - Tweaks
|
# pragma mark - Tweaks
|
||||||
|
// Enable Reorder videos from playlist while on the Watch page - @PoomSmart
|
||||||
|
%hook YTIPlaylistPanelVideoRenderer
|
||||||
|
%new
|
||||||
|
- (BOOL)canReorder { return YES; }
|
||||||
|
%end
|
||||||
|
//
|
||||||
|
|
||||||
// YTMiniPlayerEnabler: https://github.com/level3tjg/YTMiniplayerEnabler/
|
// YTMiniPlayerEnabler: https://github.com/level3tjg/YTMiniplayerEnabler/
|
||||||
%hook YTWatchMiniBarViewController
|
%hook YTWatchMiniBarViewController
|
||||||
- (void)updateMiniBarPlayerStateFromRenderer {
|
- (void)updateMiniBarPlayerStateFromRenderer {
|
||||||
|
|||||||
Reference in New Issue
Block a user