mirror of
https://github.com/yattee/yattee.git
synced 2026-02-19 17:29:45 +00:00
24 lines
566 B
Swift
24 lines
566 B
Swift
//
|
|
// VideoListStyle.swift
|
|
// Yattee
|
|
//
|
|
// List style options for video list views.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
/// Style type for list layout in video views.
|
|
enum VideoListStyle: String, CaseIterable, Codable {
|
|
/// Inset style with card background, padding, and rounded corners
|
|
case inset
|
|
/// Plain style without card background, traditional list appearance
|
|
case plain
|
|
|
|
var displayName: LocalizedStringKey {
|
|
switch self {
|
|
case .inset: "viewOptions.listStyle.inset"
|
|
case .plain: "viewOptions.listStyle.plain"
|
|
}
|
|
}
|
|
}
|