disable double tap to skip
This commit is contained in:
+10
@@ -69,6 +69,16 @@ extern NSBundle *uYouPlusBundle();
|
|||||||
}
|
}
|
||||||
settingItemId:0],
|
settingItemId:0],
|
||||||
|
|
||||||
|
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"DISABLE_DOUBLE_TAP_TO_SEEK")
|
||||||
|
titleDescription:LOC(@"DISABLE_DOUBLE_TAP_TO_SEEK_DESC")
|
||||||
|
accessibilityIdentifier:nil
|
||||||
|
switchOn:IsEnabled(@"doubleTapToSeek_disabled")
|
||||||
|
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||||
|
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"doubleTapToSeek_disabled"];
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
settingItemId:0],
|
||||||
|
|
||||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"SNAP_TO_CHAPTER")
|
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"SNAP_TO_CHAPTER")
|
||||||
titleDescription:LOC(@"SNAP_TO_CHAPTER_DESC")
|
titleDescription:LOC(@"SNAP_TO_CHAPTER_DESC")
|
||||||
accessibilityIdentifier:nil
|
accessibilityIdentifier:nil
|
||||||
|
|||||||
+6
-8
@@ -870,6 +870,12 @@ void DEMC_centerRenderingView() {
|
|||||||
%end
|
%end
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%hook YTDoubleTapToSeekController
|
||||||
|
- (void)enableDoubleTapToSeek:(BOOL)arg1 {
|
||||||
|
return IsEnabled(@"doubleTapToSeek_disabled") ? %orig(NO) : %orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
// Video Controls Overlay Options
|
// Video Controls Overlay Options
|
||||||
// Hide CC / Autoplay switch
|
// Hide CC / Autoplay switch
|
||||||
%hook YTMainAppControlsOverlayView
|
%hook YTMainAppControlsOverlayView
|
||||||
@@ -1298,14 +1304,6 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
|
|||||||
%hook YTHeaderContentComboView
|
%hook YTHeaderContentComboView
|
||||||
- (void)setFeedHeaderScrollMode:(int)arg1 { %orig(0); }
|
- (void)setFeedHeaderScrollMode:(int)arg1 { %orig(0); }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// Hide the chip bar under the video player?
|
|
||||||
// %hook YTChipCloudCell //
|
|
||||||
// - (void)didMoveToWindow {
|
|
||||||
// %orig;
|
|
||||||
// self.hidden = YES;
|
|
||||||
// }
|
|
||||||
// %end
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%group giPhoneLayout
|
%group giPhoneLayout
|
||||||
|
|||||||
Reference in New Issue
Block a user