From e0bd54389c051f9beaa5061cf53e1a6d4992b310 Mon Sep 17 00:00:00 2001 From: Fabian Thies Date: Sat, 4 Feb 2023 12:55:25 +0100 Subject: [PATCH] [FIX] Various UI issues --- AltStore/View Components/AppRowView.swift | 2 +- AltStore/Views/Browse/BrowseAppPreviewView.swift | 2 ++ AltStore/Views/News/NewsItemView.swift | 2 +- AltStore/Views/RootView.swift | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AltStore/View Components/AppRowView.swift b/AltStore/View Components/AppRowView.swift index cfaf42c4..1ccf8791 100644 --- a/AltStore/View Components/AppRowView.swift +++ b/AltStore/View Components/AppRowView.swift @@ -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)) } } diff --git a/AltStore/Views/Browse/BrowseAppPreviewView.swift b/AltStore/Views/Browse/BrowseAppPreviewView.swift index 412216d1..73f443da 100644 --- a/AltStore/Views/Browse/BrowseAppPreviewView.swift +++ b/AltStore/Views/Browse/BrowseAppPreviewView.swift @@ -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) } } } diff --git a/AltStore/Views/News/NewsItemView.swift b/AltStore/Views/News/NewsItemView.swift index a47e4b41..2572599a 100644 --- a/AltStore/Views/News/NewsItemView.swift +++ b/AltStore/Views/News/NewsItemView.swift @@ -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)) } diff --git a/AltStore/Views/RootView.swift b/AltStore/Views/RootView.swift index a3d96f78..e93acca8 100644 --- a/AltStore/Views/RootView.swift +++ b/AltStore/Views/RootView.swift @@ -61,6 +61,7 @@ struct RootView: View { } } .padding() + .frame(maxWidth: .infinity) .foregroundColor(.white) .background(Color.accentColor) .clipShape(RoundedRectangle(cornerRadius: 16))