mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[FIX] Various UI issues
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ struct RootView: View {
|
||||
}
|
||||
}
|
||||
.padding()
|
||||
.frame(maxWidth: .infinity)
|
||||
.foregroundColor(.white)
|
||||
.background(Color.accentColor)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 16))
|
||||
|
||||
Reference in New Issue
Block a user