mirror of
https://github.com/yattee/yattee.git
synced 2026-06-26 00:24:20 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user