Add hide read time setting

This commit is contained in:
Ilya Laktyushin
2024-01-04 20:00:45 +04:00
parent 90876a9ac4
commit 2bb75e1356
6 changed files with 163 additions and 34 deletions

View File

@@ -253,6 +253,12 @@ public enum PremiumSource: Equatable {
} else {
return false
}
case .presence:
if case .presence = rhs {
return true
} else {
return false
}
}
}
@@ -293,6 +299,7 @@ public enum PremiumSource: Equatable {
case nameColor
case similarChannels
case wallpapers
case presence
var identifier: String? {
switch self {
@@ -372,6 +379,8 @@ public enum PremiumSource: Equatable {
return "similar_channels"
case .wallpapers:
return "wallpapers"
case .presence:
return "presence"
}
}
}