Update Settings.xm
This commit is contained in:
parent
7109d20eeb
commit
b2fb362f0a
1 changed files with 11 additions and 1 deletions
12
Settings.xm
12
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue