freaky ahh update
Some checks are pending
Build and Release / Build IPA (push) Waiting to run
Build and Release / Build Mac Catalyst (push) Waiting to run

This commit is contained in:
Francesco 2025-05-24 20:35:29 +02:00
parent 6ed1801cbb
commit f39ff3fcf3
3 changed files with 8 additions and 1 deletions

View file

@ -14,6 +14,10 @@ struct ContentView: View {
.tabItem { .tabItem {
Label("Library", systemImage: "books.vertical") Label("Library", systemImage: "books.vertical")
} }
DownloadView()
.tabItem {
Label("Downloads", systemImage: "arrow.down.app.fill")
}
SearchView() SearchView()
.tabItem { .tabItem {
Label("Search", systemImage: "magnifyingglass") Label("Search", systemImage: "magnifyingglass")

View file

@ -172,7 +172,7 @@ struct EpisodeCell: View {
private var episodeThumbnail: some View { private var episodeThumbnail: some View {
ZStack { ZStack {
if let url = URL(string: episodeImageUrl.isEmpty ? defaultBannerImage : episodeImageUrl) { if let url = URL(string: episodeImageUrl.isEmpty ? defaultBannerImage : episodeImageUrl) {
KFImage.optimizedEpisodeThumbnail(url: url) KFImage(url)
.onFailure { error in .onFailure { error in
Logger.shared.log("Failed to load episode image: \(error)", type: "Error") Logger.shared.log("Failed to load episode image: \(error)", type: "Error")
} }

View file

@ -18,6 +18,9 @@ struct SettingsView: View {
NavigationLink(destination: SettingsViewPlayer()) { NavigationLink(destination: SettingsViewPlayer()) {
Text("Media Player") Text("Media Player")
} }
NavigationLink(destination: SettingsViewDownloads().environmentObject(JSController.shared)) {
Text("Downloads")
}
NavigationLink(destination: SettingsViewModule()) { NavigationLink(destination: SettingsViewModule()) {
Text("Modules") Text("Modules")
} }