mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Post-release bug fixes
This commit is contained in:
@@ -684,7 +684,7 @@ class WebSearchControllerNode: ASDisplayNode {
|
||||
var entries: [WebSearchGalleryEntry] = []
|
||||
var centralIndex: Int = 0
|
||||
for i in 0 ..< results.count {
|
||||
entries.append(WebSearchGalleryEntry(result: results[i]))
|
||||
entries.append(WebSearchGalleryEntry(index: entries.count, result: results[i]))
|
||||
if results[i] == currentResult {
|
||||
centralIndex = i
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user