💄 £Spruce up the podcast detail view

and update the Readme again
pull/1/head
Alexis Drai 2 years ago
parent d70182ffb9
commit 69aa2bda9e

@ -71,11 +71,23 @@ struct PodcastDetailView: View {
Color.theme.background.ignoresSafeArea(.all, edges: .all)
VStack(alignment: .leading) {
Text("Episodes")
.font(.title2)
.fontWeight(.bold)
.foregroundColor(Color.theme.primary)
.padding()
HStack {
Text(Strings.episodes)
.font(.title2)
.fontWeight(.bold)
.foregroundColor(Color.theme.primary)
.padding()
Image(systemName: "chevron.down")
.foregroundColor(Color.theme.accent)
Spacer()
Text(Strings.seeAll)
.foregroundColor(Color.theme.accent)
.padding(.trailing)
}
ForEach(podcast.episodes, id: \.id) { episode in
EpisodeViewCell(episode: episode)
@ -84,7 +96,7 @@ struct PodcastDetailView: View {
}
}
}
}
}
}
}

@ -12,4 +12,6 @@ struct Strings {
static let classySeparator = "·"
static let latestEpisode = "Latest Episode"
static let readFurtherPrompt = "MORE"
static let episodes = "Episodes"
static let seeAll = "See All"
}

@ -79,4 +79,5 @@ Concerning the View part of this project:
* throughout the app, the smart date formattings are close to the original app, but not quite as smart.
* the top bar was left unimplemented
* the "now playing bar" and the tabview don't have the same transparency / colors
* instead of i18, this clone has a very basic struct that provides static strings at need. Some string literals are still being used in the views.
* and many others will join this list, no doubt.

Loading…
Cancel
Save