mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 10:25:02 +00:00
Hide link action, clipboard, and handoff settings on tvOS
These features are not available on Apple TV: clipboard monitoring, default link action (no tap/share), and Handoff continuity.
This commit is contained in:
@@ -19,15 +19,17 @@ struct LayoutNavigationSettingsView: View {
|
|||||||
#endif
|
#endif
|
||||||
#if !os(tvOS)
|
#if !os(tvOS)
|
||||||
VideoActionsSection(settings: settings)
|
VideoActionsSection(settings: settings)
|
||||||
#endif
|
|
||||||
LinkActionSection(settings: settings)
|
LinkActionSection(settings: settings)
|
||||||
ClipboardSection(settings: settings)
|
ClipboardSection(settings: settings)
|
||||||
|
#endif
|
||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
if #available(iOS 26, *) {
|
if #available(iOS 26, *) {
|
||||||
MiniPlayerMinimizeBehaviorSection(settings: settings)
|
MiniPlayerMinimizeBehaviorSection(settings: settings)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if !os(tvOS)
|
||||||
HandoffSection(settings: settings)
|
HandoffSection(settings: settings)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if !os(tvOS)
|
#if !os(tvOS)
|
||||||
|
|||||||
Reference in New Issue
Block a user