This commit is contained in:
Balackburn
2023-12-18 21:30:36 +01:00
parent b08bb9477a
commit d6ba8d2bfd
16 changed files with 52 additions and 7 deletions

View File

@@ -477,6 +477,16 @@ extern NSBundle *YTLitePlusBundle();
return YES ;
}
settingItemId:0],
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_COMMUNITY_POSTS")
titleDescription:LOC(@"HIDE_COMMUNITY_POSTS_DESC")
accessibilityIdentifier:nil
switchOn:IsEnabled(@"hideCommunityPosts_enabled")
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideCommunityPosts_enabled"];
return YES;
}
settingItemId:0],
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_CAST_BUTTON")
titleDescription:LOC(@"HIDE_CAST_BUTTON_DESC")