mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
Update EpisodeCell.swift
This commit is contained in:
parent
e7b311b6e9
commit
11b18ac980
1 changed files with 0 additions and 4 deletions
|
|
@ -248,13 +248,11 @@ private extension EpisodeCell {
|
|||
var episodeInfo: some View {
|
||||
VStack(alignment: .leading) {
|
||||
HStack(spacing: 8) {
|
||||
// Episode number uses default color now (no red)
|
||||
Text("Episode \(episodeID + 1)")
|
||||
.font(.system(size: 15))
|
||||
.foregroundColor(.primary)
|
||||
|
||||
if isFiller {
|
||||
// Modern capsule badge that matches subtle UI (unchanged)
|
||||
Text("Filler")
|
||||
.font(.system(size: 12, weight: .semibold))
|
||||
.padding(.horizontal, 8)
|
||||
|
|
@ -561,7 +559,6 @@ private extension EpisodeCell {
|
|||
} else {
|
||||
fetchAnimeEpisodeDetails()
|
||||
}
|
||||
// NOTE: filler info is now handled by MediaInfoView and passed in via `fillerEpisodes`.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -984,7 +981,6 @@ private extension EpisodeCell {
|
|||
}.resume()
|
||||
}
|
||||
|
||||
// Removed Jikan fetching from EpisodeCell. All filler/Jikan handling is now in MediaInfoView and passed in via `fillerEpisodes`.
|
||||
|
||||
func handleFetchFailure(error: Error) {
|
||||
Logger.shared.log("Episode details fetch error: \(error.localizedDescription)", type: "Error")
|
||||
|
|
|
|||
Loading…
Reference in a new issue