From b2fb362f0af1f0fdbd1e59270ac382e64ef302c3 Mon Sep 17 00:00:00 2001 From: arichorn <78001398+arichorn@users.noreply.github.com> Date: Thu, 13 Jul 2023 20:03:56 -0500 Subject: [PATCH] Update Settings.xm --- Settings.xm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Settings.xm b/Settings.xm index ec94972..9729183 100644 --- a/Settings.xm +++ b/Settings.xm @@ -68,13 +68,23 @@ extern NSBundle *uYouPlusBundle(); [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"DISABLE_DOUBLE_TAP_TO_SEEK") titleDescription:LOC(@"DISABLE_DOUBLE_TAP_TO_SEEK_DESC") accessibilityIdentifier:nil - switchOn:IsEnabled(@"tapToSkip_enabled") + switchOn:IsEnabled(@"disableDoubleTapToSkip_enabled") switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"disableDoubleTapToSkip_enabled"]; return YES; } settingItemId:0], + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Disable double tap to seek (Legacy)") + titleDescription:LOC(@"use this if the option above does not work.") + accessibilityIdentifier:nil + switchOn:IsEnabled(@"disableDoubleTapToSkipLegacy_enabled") + switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { + [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"disableDoubleTapToSkipLegacy_enabled"]; + return YES; + } + settingItemId:0], + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"SNAP_TO_CHAPTER") titleDescription:LOC(@"SNAP_TO_CHAPTER_DESC") accessibilityIdentifier:nil