mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
15 lines
262 B
Swift
15 lines
262 B
Swift
import Defaults
|
|
|
|
enum ListingLayout: String, CaseIterable, Defaults.Serializable {
|
|
case list, cells
|
|
|
|
var name: String {
|
|
switch self {
|
|
case .list:
|
|
return "List"
|
|
case .cells:
|
|
return "Cells"
|
|
}
|
|
}
|
|
}
|