Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
GachaItemManager // Also fix itemID on refetching data.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikiSuen committed Oct 11, 2024
1 parent 4ecf873 commit e4a079b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Model/GachaModel/GachaItemManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,9 @@ public class GachaModelManager {
foundExistingRecords.removeFirst()
}
if let existingRecord = foundExistingRecords.first {
// 修复错误的时区资讯。
// 修复错误的时区资讯,同时修复 itemID
existingRecord.time = item.time
existingRecord.itemId = item.itemId
isNew?(false)
return false
} else {
Expand Down

0 comments on commit e4a079b

Please sign in to comment.