mirror of
https://github.com/yattee/yattee.git
synced 2025-11-14 06:10:18 +00:00
Fix all SwiftLint violations across codebase
Resolves 130+ violations including deployment target checks, code style issues, and formatting inconsistencies. Adds SwiftLint disable comments for compiler-required availability checks while maintaining deployment target compliance. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -49,6 +49,7 @@ struct VideoDetails: View {
|
||||
.padding(.trailing, 5)
|
||||
// TODO: when setting tvOS minimum to 16, the platform modifier can be removed
|
||||
#if !os(tvOS)
|
||||
.accessibilityAddTraits(.isButton)
|
||||
.simultaneousGesture(
|
||||
TapGesture() // Ensures the button tap is recognized
|
||||
)
|
||||
@@ -63,11 +64,11 @@ struct VideoDetails: View {
|
||||
.lineLimit(1)
|
||||
// TODO: when setting tvOS minimum to 16, the platform modifier can be removed
|
||||
#if !os(tvOS)
|
||||
.accessibilityAddTraits(.isButton)
|
||||
.onTapGesture {
|
||||
guard let channel = video?.channel else { return }
|
||||
NavigationModel.shared.openChannel(channel, navigationStyle: .sidebar)
|
||||
}
|
||||
.accessibilityAddTraits(.isButton)
|
||||
#endif
|
||||
} else if model.videoBeingOpened != nil {
|
||||
Text("Yattee")
|
||||
|
||||
Reference in New Issue
Block a user