mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
fixes
This commit is contained in:
parent
53a9ff9f19
commit
6ed1801cbb
1 changed files with 1 additions and 4 deletions
|
|
@ -110,6 +110,7 @@ struct EpisodeCell: View {
|
|||
Spacer()
|
||||
CircularProgressBar(progress: currentProgress)
|
||||
.frame(width: 40, height: 40)
|
||||
.padding(.trailing, 8)
|
||||
}
|
||||
.contentShape(Rectangle())
|
||||
.background(isMultiSelectMode && isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
|
||||
|
|
@ -172,10 +173,6 @@ struct EpisodeCell: View {
|
|||
ZStack {
|
||||
if let url = URL(string: episodeImageUrl.isEmpty ? defaultBannerImage : episodeImageUrl) {
|
||||
KFImage.optimizedEpisodeThumbnail(url: url)
|
||||
.setProcessor(DownsamplingImageProcessor(size: CGSize(width: 100, height: 56)))
|
||||
.memoryCacheExpiration(.seconds(600))
|
||||
.cacheOriginalImage()
|
||||
.fade(duration: 0.1)
|
||||
.onFailure { error in
|
||||
Logger.shared.log("Failed to load episode image: \(error)", type: "Error")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue