Remove ratings
This commit is contained in:
parent
e9be25f44b
commit
07418a772f
|
@ -261,18 +261,8 @@ struct EpisodeItemView: View {
|
||||||
.overlay(RoundedRectangle(cornerRadius: 2)
|
.overlay(RoundedRectangle(cornerRadius: 2)
|
||||||
.stroke(Color.secondary, lineWidth: 1))
|
.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)
|
.padding(.bottom, UIDevice.current.userInterfaceIdiom == .pad ? 98 : 26)
|
||||||
}
|
}
|
||||||
HStack {
|
HStack {
|
||||||
|
|
|
@ -349,16 +349,6 @@ struct MovieItemView: View {
|
||||||
.overlay(RoundedRectangle(cornerRadius: 2)
|
.overlay(RoundedRectangle(cornerRadius: 2)
|
||||||
.stroke(Color.secondary, lineWidth: 1))
|
.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)
|
.padding(.bottom, UIDevice.current.userInterfaceIdiom == .pad ? 98 : 26)
|
||||||
|
|
Loading…
Reference in New Issue