mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Yattee v2 rewrite
This commit is contained in:
23
Yattee/Models/VideoListStyle.swift
Normal file
23
Yattee/Models/VideoListStyle.swift
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user