Post-release bug fixes

This commit is contained in:
Ali
2020-02-14 14:24:29 +01:00
parent 267bac83be
commit 0b6663fad5
37 changed files with 1318 additions and 390 deletions

View File

@@ -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