mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Loading state
This commit is contained in:
@@ -34,8 +34,13 @@ public struct StoredPeerThreadCombinedState: Equatable, Codable {
|
||||
case validIndexBoundary = "r"
|
||||
}
|
||||
|
||||
var data: CodableEntry
|
||||
var validIndexBoundary: Index?
|
||||
public var data: CodableEntry
|
||||
public var validIndexBoundary: Index?
|
||||
|
||||
public init(data: CodableEntry, validIndexBoundary: Index?) {
|
||||
self.data = data
|
||||
self.validIndexBoundary = validIndexBoundary
|
||||
}
|
||||
|
||||
public init(from decoder: Decoder) throws {
|
||||
let container = try decoder.container(keyedBy: CodingKeys.self)
|
||||
|
||||
Reference in New Issue
Block a user