mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +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,
|
.ubiquitousItemDownloadingErrorKey,
|
||||||
.ubiquitousItemUploadingErrorKey])
|
.ubiquitousItemUploadingErrorKey])
|
||||||
guard let downloadStatus = resources.ubiquitousItemDownloadingStatus,
|
guard let downloadStatus = resources.ubiquitousItemDownloadingStatus,
|
||||||
let percentDownloaded = resources.ubiquitousItemDownloadingStatus,
|
// Not used.
|
||||||
|
// let percentDownloaded = resources.ubiquitousItemDownloadingStatus,
|
||||||
let lastModificationDate = resources.contentModificationDate?.roundedTime,
|
let lastModificationDate = resources.contentModificationDate?.roundedTime,
|
||||||
let hasUnresolvedConflicts = resources.ubiquitousItemHasUnresolvedConflicts else {
|
let hasUnresolvedConflicts = resources.ubiquitousItemHasUnresolvedConflicts else {
|
||||||
LOG(.error, "Failed to initialize CloudMetadataItem from \(fileUrl) resources: \(resources.allValues)")
|
LOG(.error, "Failed to initialize CloudMetadataItem from \(fileUrl) resources: \(resources.allValues)")
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ extension PlacePageInteractor: PlacePageEditBookmarkOrTrackViewControllerDelegat
|
|||||||
case .bookmark(let bookmarkData):
|
case .bookmark(let bookmarkData):
|
||||||
let bookmarkColor = BookmarkColor.bookmarkColor(from: color) ?? bookmarkData.color
|
let bookmarkColor = BookmarkColor.bookmarkColor(from: color) ?? bookmarkData.color
|
||||||
MWMPlacePageManagerHelper.updateBookmark(placePageData, color: bookmarkColor, category: category)
|
MWMPlacePageManagerHelper.updateBookmark(placePageData, color: bookmarkColor, category: category)
|
||||||
case .track(let trackData):
|
case .track:
|
||||||
MWMPlacePageManagerHelper.updateTrack(placePageData, color: color, category: category)
|
MWMPlacePageManagerHelper.updateTrack(placePageData, color: color, category: category)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user