mirror of
https://github.com/yattee/yattee.git
synced 2025-11-14 14:18:52 +00:00
Improve tvOS settings UI styling and navigation
- Add TVOSPlainToggleStyle for cleaner toggle appearance on tvOS - Remove focus overlays from settings navigation links and buttons - Apply plain button and list styles across all settings screens - Implement custom system controls picker for tvOS to avoid focus overlay - Update SettingsPickerModifier with platform-specific styling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,9 @@ struct AdvancedSettings: View {
|
||||
List {
|
||||
advancedSettings
|
||||
}
|
||||
#if os(iOS)
|
||||
#if os(tvOS)
|
||||
.listStyle(.plain)
|
||||
#elseif os(iOS)
|
||||
.sheet(isPresented: $presentingShareSheet) {
|
||||
ShareSheet(activityItems: filesToShare)
|
||||
.id("logs-\(filesToShare.count)")
|
||||
@@ -41,6 +43,8 @@ struct AdvancedSettings: View {
|
||||
#endif
|
||||
}
|
||||
#if os(tvOS)
|
||||
.buttonStyle(.plain)
|
||||
.toggleStyle(TVOSPlainToggleStyle())
|
||||
.frame(maxWidth: 1000)
|
||||
#endif
|
||||
.navigationTitle("Advanced")
|
||||
|
||||
Reference in New Issue
Block a user