mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 08:32:00 +00:00
freaky ahh update
This commit is contained in:
parent
6ed1801cbb
commit
f39ff3fcf3
3 changed files with 8 additions and 1 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue