Skip to content

Commit

Permalink
use a better name for this func (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
bolsinga authored Dec 25, 2024
1 parent bb858fa commit 75d05e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/iTunes/Track+Patch.swift
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ extension Array where Element == Track {
}
}

fileprivate func patchAlbumTrackCounts(_ lookup: AlbumMissingTitlePatchLookup, tag: String) throws
fileprivate func patchMissingAlbumTitles(_ lookup: AlbumMissingTitlePatchLookup, tag: String)
throws
-> [Track]
{
self.map { track in
Expand All @@ -252,7 +253,7 @@ extension Array where Element == Track {
case .albums(let lookup):
try patchAlbums(lookup, tag: tag)
case .missingTitleAlbums(let lookup):
try patchAlbumTrackCounts(lookup, tag: tag)
try patchMissingAlbumTitles(lookup, tag: tag)
}
}

Expand Down

0 comments on commit 75d05e7

Please sign in to comment.