mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Experimental widget settings
This commit is contained in:
@@ -226,7 +226,7 @@ public func mergeListsStableWithUpdates<T>(leftList: [T], rightList: [T], isLess
|
||||
}
|
||||
var i = 0
|
||||
while i < rightList.count {
|
||||
if updatedItems[i].1 != getId(rightList[i]) {
|
||||
if updatedItems.count <= i || updatedItems[i].1 != getId(rightList[i]) {
|
||||
updatedItems.insert((rightList[i], getId(rightList[i])), at: i)
|
||||
var previousIndex: Int?
|
||||
for k in 0 ..< leftList.count {
|
||||
|
||||
Reference in New Issue
Block a user