完善景区排队设置页与全局按钮配置迁移。
重构排队设置与变更日志交互,补充 Overlay 与资源,并将多页面主操作按钮统一到 UIButton Configuration,同步更新相关单元测试。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -170,8 +170,8 @@ final class CloudTransferManager {
|
||||
fileName: seed.fileName,
|
||||
fileType: seed.fileType,
|
||||
scenicId: scenicIdProvider()
|
||||
) { [weak self] progress in
|
||||
Task { @MainActor in
|
||||
) { progress in
|
||||
Task { @MainActor [weak self] in
|
||||
guard let self, self.isCurrentOperation(id: id, generation: generation) else { return }
|
||||
self.updateUploadProgress(id: id, progress: progress)
|
||||
}
|
||||
@ -220,8 +220,8 @@ final class CloudTransferManager {
|
||||
let localURL = try await downloader.downloadFile(
|
||||
remoteURL: seed.remoteURL,
|
||||
fileName: seed.fileName
|
||||
) { [weak self] progress in
|
||||
Task { @MainActor in
|
||||
) { progress in
|
||||
Task { @MainActor [weak self] in
|
||||
guard let self, self.isCurrentOperation(id: id, generation: generation) else { return }
|
||||
self.updateDownloadProgress(id: id, progress: progress)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user