mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Post-release bug fixes
This commit is contained in:
@@ -14,15 +14,22 @@ import TelegramUniversalVideoContent
|
||||
import GalleryUI
|
||||
|
||||
class WebSearchVideoGalleryItem: GalleryItem {
|
||||
var id: AnyHashable {
|
||||
return self.index
|
||||
}
|
||||
|
||||
let index: Int
|
||||
|
||||
let context: AccountContext
|
||||
let presentationData: PresentationData
|
||||
let result: ChatContextResult
|
||||
let content: UniversalVideoContent
|
||||
let controllerInteraction: WebSearchGalleryControllerInteraction?
|
||||
|
||||
init(context: AccountContext, presentationData: PresentationData, result: ChatContextResult, content: UniversalVideoContent, controllerInteraction: WebSearchGalleryControllerInteraction?) {
|
||||
init(context: AccountContext, presentationData: PresentationData, index: Int, result: ChatContextResult, content: UniversalVideoContent, controllerInteraction: WebSearchGalleryControllerInteraction?) {
|
||||
self.context = context
|
||||
self.presentationData = presentationData
|
||||
self.index = index
|
||||
self.result = result
|
||||
self.content = content
|
||||
self.controllerInteraction = controllerInteraction
|
||||
|
||||
Reference in New Issue
Block a user