Skip to content

Commit

Permalink
isCategoryActive no longer used
Browse files Browse the repository at this point in the history
- no longer after #924
  • Loading branch information
bolsinga committed Oct 4, 2024
1 parent bfda2a2 commit 3631aca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Sources/Site/Music/UI/ArchiveCategorySplit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ struct ArchiveCategorySplit: View {
@Binding var path: [ArchivePath]
let nearbyModel: NearbyModel

let isCategoryActive: (ArchiveCategory) -> Bool

private var vault: Vault { model.vault }

@MainActor
Expand Down
2 changes: 1 addition & 1 deletion Sources/Site/Music/UI/ArchiveStateView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct ArchiveStateView: View {
ArchiveCategorySplit(
model: model, venueSort: $venueSort, artistSort: $artistSort,
selectedCategory: $archiveNavigation.category, path: $archiveNavigation.path,
nearbyModel: nearbyModel, isCategoryActive: archiveNavigation.userActivityActive(for:))
nearbyModel: nearbyModel)
}

var body: some View {
Expand Down

0 comments on commit 3631aca

Please sign in to comment.