mirror of
https://github.com/cranci1/Sora.git
synced 2026-05-19 08:12:22 +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 {
|
var episodeInfo: some View {
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
HStack(spacing: 8) {
|
HStack(spacing: 8) {
|
||||||
// Episode number uses default color now (no red)
|
|
||||||
Text("Episode \(episodeID + 1)")
|
Text("Episode \(episodeID + 1)")
|
||||||
.font(.system(size: 15))
|
.font(.system(size: 15))
|
||||||
.foregroundColor(.primary)
|
.foregroundColor(.primary)
|
||||||
|
|
||||||
if isFiller {
|
if isFiller {
|
||||||
// Modern capsule badge that matches subtle UI (unchanged)
|
|
||||||
Text("Filler")
|
Text("Filler")
|
||||||
.font(.system(size: 12, weight: .semibold))
|
.font(.system(size: 12, weight: .semibold))
|
||||||
.padding(.horizontal, 8)
|
.padding(.horizontal, 8)
|
||||||
|
|
@ -561,7 +559,6 @@ private extension EpisodeCell {
|
||||||
} else {
|
} else {
|
||||||
fetchAnimeEpisodeDetails()
|
fetchAnimeEpisodeDetails()
|
||||||
}
|
}
|
||||||
// NOTE: filler info is now handled by MediaInfoView and passed in via `fillerEpisodes`.
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -984,7 +981,6 @@ private extension EpisodeCell {
|
||||||
}.resume()
|
}.resume()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Removed Jikan fetching from EpisodeCell. All filler/Jikan handling is now in MediaInfoView and passed in via `fillerEpisodes`.
|
|
||||||
|
|
||||||
func handleFetchFailure(error: Error) {
|
func handleFetchFailure(error: Error) {
|
||||||
Logger.shared.log("Episode details fetch error: \(error.localizedDescription)", type: "Error")
|
Logger.shared.log("Episode details fetch error: \(error.localizedDescription)", type: "Error")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue