mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-09 06:00:43 +00:00
17 lines
401 B
Swift
17 lines
401 B
Swift
import Foundation
|
|
|
|
final class MediaCleanupTable: Table {
|
|
var debugMedia: [Media] = []
|
|
|
|
override init(valueBox: ValueBox, tableId: Int32) {
|
|
super.init(valueBox: valueBox, tableId: tableId)
|
|
}
|
|
|
|
func add(media: Media, sharedEncoder: Encoder = Encoder()) {
|
|
debugMedia.append(media)
|
|
}
|
|
|
|
func debugList() -> [Media] {
|
|
return self.debugMedia
|
|
}
|
|
} |