Add downloaded indicator to EpisodeCell (#215)

This commit is contained in:
realdoomsboygaming 2025-07-02 10:00:30 -05:00 committed by GitHub
parent 52e7101472
commit 3974fc7003
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,6 +149,10 @@ private extension EpisodeCell {
episodeThumbnail
episodeInfo
Spacer()
if case .downloaded = downloadStatus {
downloadedIndicator
.padding(.trailing, 8)
}
CircularProgressBar(progress: currentProgress)
.frame(width: 40, height: 40)
.padding(.trailing, 4)
@ -228,6 +232,12 @@ private extension EpisodeCell {
}
}
var downloadedIndicator: some View {
Image(systemName: "folder.fill")
.foregroundColor(.accentColor)
.font(.system(size: 18))
}
var contextMenuContent: some View {
Group {
if progress <= 0.9 {