mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-08 23:30:22 +00:00
Cleanup
This commit is contained in:
parent
318c47b0aa
commit
4a32c05bd7
@ -186,7 +186,7 @@ public func mergeListsStableWithUpdatesReversed<T>(leftList: [T], rightList: [T]
|
|||||||
var insertItems: [(Int, T, Int?)] = []
|
var insertItems: [(Int, T, Int?)] = []
|
||||||
var updatedIndices: [(Int, T, Int)] = []
|
var updatedIndices: [(Int, T, Int)] = []
|
||||||
|
|
||||||
#if (arch(i386) || arch(x86_64)) && os(iOS)
|
#if targetEnvironment(simulator)
|
||||||
var existingStableIds: [T.T: T] = [:]
|
var existingStableIds: [T.T: T] = [:]
|
||||||
for item in leftList {
|
for item in leftList {
|
||||||
if let _ = existingStableIds[item.stableId] {
|
if let _ = existingStableIds[item.stableId] {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user