Remove ratings

This commit is contained in:
Aiden Vigue 2021-05-30 23:09:31 -04:00
parent e9be25f44b
commit 07418a772f
No known key found for this signature in database
GPG Key ID: E7570472648F4544
2 changed files with 1 additions and 21 deletions

View File

@ -261,18 +261,8 @@ struct EpisodeItemView: View {
.overlay(RoundedRectangle(cornerRadius: 2)
.stroke(Color.secondary, lineWidth: 1))
}
}.frame(maxWidth: .infinity, alignment: .leading)
if fullItem.CommunityRating != "0" {
HStack {
Image(systemName: "star").foregroundColor(.secondary)
Text(fullItem.CommunityRating).font(.subheadline)
.fontWeight(.semibold)
.foregroundColor(.secondary)
.lineLimit(1)
.offset(x: -7, y: 0.7)
}
}
}.frame(maxWidth: .infinity, alignment: .leading)
}
.padding(.bottom, UIDevice.current.userInterfaceIdiom == .pad ? 98 : 26)
}
HStack {

View File

@ -349,16 +349,6 @@ struct MovieItemView: View {
.overlay(RoundedRectangle(cornerRadius: 2)
.stroke(Color.secondary, lineWidth: 1))
}
}.frame(maxWidth: .infinity, alignment: .leading)
if fullItem.CommunityRating != "0" {
HStack {
Image(systemName: "star").foregroundColor(.secondary)
Text(fullItem.CommunityRating).font(.subheadline)
.fontWeight(.semibold)
.foregroundColor(.secondary)
.lineLimit(1)
.offset(x: -7, y: 0.7)
}
}
}
.padding(.bottom, UIDevice.current.userInterfaceIdiom == .pad ? 98 : 26)