Set the minimum deplyoment target to 10.13.

This commit is contained in:
Damiano galassi committed 2022-11-18 18:52:16 +01:00
1 parent 2a5990aa5b
commit e45b608805
6 files changed
+16 -39

No files matched your search

+1 -6
View File
@@ -261,12 +261,7 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
let range = (artworks.count - endIndex ..< artworks.count)
let indexes = range.map { IndexPath(item: $0, section: 0)}
if #available(OSX 10.13, *) {
imageBrowser.insertItems(at: Set(indexes))
} else {
// Call this on 10.12 and 10.11 to avoid a crash
imageBrowser.reloadData()
}
imageBrowser.insertItems(at: Set(indexes))
}
private func selectArtwork(type: ArtworkType, size: ArtworkSize, service: String) {