Update bundles, feature card size

This commit is contained in:
Jackson Harper 2023-06-13 20:57:59 +08:00
parent 1505d11e85
commit bac61e71ed
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View file

@ -76,16 +76,16 @@ public struct LibraryFeatureCard: View {
switch phase {
case .empty:
Color.systemBackground
.frame(width: 146, height: 82)
.frame(width: 146, height: 90)
.cornerRadius(5)
case let .success(image):
image.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 146, height: 82)
.frame(width: 146, height: 90)
.cornerRadius(5)
case .failure:
Image(systemName: "photo")
.frame(width: 146, height: 82)
.frame(width: 146, height: 90)
.foregroundColor(Color(hex: "#6A6968"))
.background(Color(hex: "#EBEBEB"))
.cornerRadius(5)
@ -99,7 +99,7 @@ public struct LibraryFeatureCard: View {
}
} else {
Image(systemName: "photo")
.frame(width: 146, height: 82)
.frame(width: 146, height: 90)
.foregroundColor(Color(hex: "#6A6968"))
.background(Color(hex: "#EBEBEB"))
.cornerRadius(5)

File diff suppressed because one or more lines are too long