Skip to content

Commit

Permalink
PLAYNEXT-832 Improve areRedundant comparaison
Browse files Browse the repository at this point in the history
  • Loading branch information
pyby committed Oct 2, 2024
1 parent de43dd5 commit f7793a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/Sources/UI/Helpers/MediaDescription.swift
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ import SRGAppearanceSwift
}

private static func areRedundant(media: SRGMedia, show: SRGShow) -> Bool {
media.title.lowercased() == show.title.lowercased()
media.title.lowercased().contains(show.title.lowercased())
}

private static func shouldDisplayExpirationDate(for media: SRGMedia) -> Bool {
Expand Down

0 comments on commit f7793a7

Please sign in to comment.