Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin
2024-01-08 19:03:34 +04:00
155 changed files with 6742 additions and 4504 deletions

View File

@@ -259,6 +259,12 @@ public enum PremiumSource: Equatable {
} else {
return false
}
case .readTime:
if case .readTime = rhs {
return true
} else {
return false
}
}
}
@@ -300,6 +306,7 @@ public enum PremiumSource: Equatable {
case similarChannels
case wallpapers
case presence
case readTime
var identifier: String? {
switch self {
@@ -381,6 +388,8 @@ public enum PremiumSource: Equatable {
return "wallpapers"
case .presence:
return "presence"
case .readTime:
return "read_time"
}
}
}