[ios] Removed unused variables

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-08-01 13:32:53 +02:00
committed by Yannik Bloscheck
parent 3b1551be52
commit 8e9dbe0248
2 changed files with 3 additions and 2 deletions

View File

@@ -68,7 +68,8 @@ extension CloudMetadataItem {
.ubiquitousItemDownloadingErrorKey,
.ubiquitousItemUploadingErrorKey])
guard let downloadStatus = resources.ubiquitousItemDownloadingStatus,
let percentDownloaded = resources.ubiquitousItemDownloadingStatus,
// Not used.
// let percentDownloaded = resources.ubiquitousItemDownloadingStatus,
let lastModificationDate = resources.contentModificationDate?.roundedTime,
let hasUnresolvedConflicts = resources.ubiquitousItemHasUnresolvedConflicts else {
LOG(.error, "Failed to initialize CloudMetadataItem from \(fileUrl) resources: \(resources.allValues)")

View File

@@ -215,7 +215,7 @@ extension PlacePageInteractor: PlacePageEditBookmarkOrTrackViewControllerDelegat
case .bookmark(let bookmarkData):
let bookmarkColor = BookmarkColor.bookmarkColor(from: color) ?? bookmarkData.color
MWMPlacePageManagerHelper.updateBookmark(placePageData, color: bookmarkColor, category: category)
case .track(let trackData):
case .track:
MWMPlacePageManagerHelper.updateTrack(placePageData, color: color, category: category)
}
}