mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-20 20:23:25 +01:00
[FIX] Various UI issues
This commit is contained in:
committed by
Joe Mattiello
parent
57213fbf0c
commit
e0bd54389c
@@ -42,7 +42,7 @@ struct AppRowView: View {
|
|||||||
}
|
}
|
||||||
.padding()
|
.padding()
|
||||||
.tintedBackground(Color(storeApp?.tintColor ?? UIColor(Color.accentColor)))
|
.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 {
|
if let subtitle = storeApp.subtitle {
|
||||||
Text(subtitle)
|
Text(subtitle)
|
||||||
|
.multilineTextAlignment(.center)
|
||||||
}
|
}
|
||||||
|
|
||||||
if !storeApp.screenshotURLs.isEmpty {
|
if !storeApp.screenshotURLs.isEmpty {
|
||||||
@@ -28,6 +29,7 @@ struct BrowseAppPreviewView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(height: 300)
|
.frame(height: 300)
|
||||||
|
.shadow(radius: 8)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ struct NewsItemView: View {
|
|||||||
alignment: .topLeading
|
alignment: .topLeading
|
||||||
)
|
)
|
||||||
.background(Color(newsItem.tintColor))
|
.background(Color(newsItem.tintColor))
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 30, style: .circular))
|
.clipShape(RoundedRectangle(cornerRadius: 24, style: .circular))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ struct RootView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding()
|
.padding()
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
.background(Color.accentColor)
|
.background(Color.accentColor)
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 16))
|
.clipShape(RoundedRectangle(cornerRadius: 16))
|
||||||
|
|||||||
Reference in New Issue
Block a user