yattee/Shared/ListingLayout.swift
2021-06-27 01:29:55 +02:00

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"
}
}
}