yattee/Shared/ListingLayout.swift

15 lines
262 B
Swift
Raw Normal View History

2021-06-26 23:29:55 +00:00
import Defaults
enum ListingLayout: String, CaseIterable, Defaults.Serializable {
case list, cells
var name: String {
switch self {
case .list:
return "List"
case .cells:
return "Cells"
}
}
}