mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[ios] Removed unused variables
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Yannik Bloscheck
parent
3b1551be52
commit
8e9dbe0248
@@ -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)")
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user