[CHANGE] Overhaul of the AppDetailView with version history, reviews & ratings, and app information

This commit is contained in:
Fabian Thies
2023-01-31 22:38:42 +01:00
parent 3f06a53058
commit e85876cd24
10 changed files with 395 additions and 69 deletions

View File

@@ -50,13 +50,15 @@ struct NewsItemView: View {
.bold()
.foregroundColor(.white)
VStack(alignment: .leading) {
HStack(spacing: 0) {
if let sourceName = newsItem.source?.name {
Text(sourceName)
.italic()
}
if let externalURL = newsItem.externalURL {
Text(" • ")
HStack(spacing: 0) {
Image(systemSymbol: .link)
Text(externalURL.host ?? "")