Rename YouTube Enhancements settings to Integrations

Also swap the icon to puzzlepiece.extension, which better conveys that
this section houses third-party service hookups (SponsorBlock, Return
YouTube Dislike, DeArrow, short-link resolution) rather than being
YouTube-specific.

Hide the Resolve Short Links toggle on tvOS — there's no way to tap
inline description links or reach a system browser there — and tighten
the openInSystemBrowser platform guards so the iOS-only UIApplication
path isn't compiled on tvOS.
This commit is contained in:
Arkadiusz Fal
2026-04-23 07:34:31 +02:00
parent 5a839da1bd
commit f804cc1521
5 changed files with 15 additions and 9 deletions

View File

@@ -16,7 +16,11 @@ struct YouTubeEnhancementsSettingsView: View {
SponsorBlockSection(settings: settings)
ReturnYouTubeDislikeSection(settings: settings)
DeArrowSection(settings: settings)
#if !os(tvOS)
// tvOS has no in-description link tapping or system browser,
// so short-link resolution would have nothing to act on.
ResolveShortLinksSection(settings: settings)
#endif
}
}
#if !os(tvOS)