mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Model improvements
This commit is contained in:
@@ -278,6 +278,14 @@ enum VisibleSection: String, CaseIterable, Comparable, Defaults.Serializable {
|
||||
|
||||
enum WatchedVideoStyle: String, Defaults.Serializable {
|
||||
case nothing, badge, decreasedOpacity, both
|
||||
|
||||
var isShowingBadge: Bool {
|
||||
self == .badge || self == .both
|
||||
}
|
||||
|
||||
var isDecreasingOpacity: Bool {
|
||||
self == .decreasedOpacity || self == .both
|
||||
}
|
||||
}
|
||||
|
||||
enum WatchedVideoBadgeColor: String, Defaults.Serializable {
|
||||
|
Reference in New Issue
Block a user