diff --git a/Yattee/Core/Settings/SettingsManager+Advanced.swift b/Yattee/Core/Settings/SettingsManager+Advanced.swift index 856d5077..25148fdd 100644 --- a/Yattee/Core/Settings/SettingsManager+Advanced.swift +++ b/Yattee/Core/Settings/SettingsManager+Advanced.swift @@ -208,6 +208,9 @@ extension SettingsManager { /// Default is plain. Synced per-platform via iCloud. var listStyle: VideoListStyle { get { + #if os(tvOS) + return .plain + #else if let cached = _listStyle { return cached } guard let rawValue = string(for: .listStyle), let style = VideoListStyle(rawValue: rawValue) else { @@ -215,6 +218,7 @@ extension SettingsManager { } _listStyle = style return style + #endif } set { _listStyle = newValue diff --git a/Yattee/Views/Settings/AppearanceSettingsView.swift b/Yattee/Views/Settings/AppearanceSettingsView.swift index 728afc03..4a9c5677 100644 --- a/Yattee/Views/Settings/AppearanceSettingsView.swift +++ b/Yattee/Views/Settings/AppearanceSettingsView.swift @@ -29,7 +29,9 @@ struct AppearanceSettingsView: View { #endif // List style section + #if !os(tvOS) ListStyleSection(settings: settings) + #endif // Thumbnail section ThumbnailSection(settings: settings)