[FIX] Various UI issues

This commit is contained in:
Fabian Thies
2023-02-04 12:55:25 +01:00
committed by Joe Mattiello
parent 57213fbf0c
commit e0bd54389c
4 changed files with 5 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ struct AppRowView: View {
}
.padding()
.tintedBackground(Color(storeApp?.tintColor ?? UIColor(Color.accentColor)))
.clipShape(RoundedRectangle(cornerRadius: 30, style: .circular))
.clipShape(RoundedRectangle(cornerRadius: 24, style: .circular))
}
}

View File

@@ -19,6 +19,7 @@ struct BrowseAppPreviewView: View {
if let subtitle = storeApp.subtitle {
Text(subtitle)
.multilineTextAlignment(.center)
}
if !storeApp.screenshotURLs.isEmpty {
@@ -28,6 +29,7 @@ struct BrowseAppPreviewView: View {
}
}
.frame(height: 300)
.shadow(radius: 8)
}
}
}

View File

@@ -91,7 +91,7 @@ struct NewsItemView: View {
alignment: .topLeading
)
.background(Color(newsItem.tintColor))
.clipShape(RoundedRectangle(cornerRadius: 30, style: .circular))
.clipShape(RoundedRectangle(cornerRadius: 24, style: .circular))
}

View File

@@ -61,6 +61,7 @@ struct RootView: View {
}
}
.padding()
.frame(maxWidth: .infinity)
.foregroundColor(.white)
.background(Color.accentColor)
.clipShape(RoundedRectangle(cornerRadius: 16))