Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 3cb8b10

Browse files
authored
More colour fixes and stuff
1 parent 1377fb0 commit 3cb8b10

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/prostore/views/CertificateView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ struct CertificateView: View {
198198

199199
var body: some View {
200200
NavigationStack {
201-
Form {
201+
ScrollView {
202202
LazyVGrid(columns: [GridItem(.flexible()), GridItem(.flexible())], spacing: 20) {
203203
ForEach(customCertificates) { cert in
204204
ZStack(alignment: .top) {
@@ -210,6 +210,7 @@ struct CertificateView: View {
210210
}
211211
.padding(20)
212212
.frame(maxWidth: .infinity)
213+
.background(Color(.systemGray6))
213214
.cornerRadius(16)
214215
.overlay(
215216
RoundedRectangle(cornerRadius: 16)
@@ -237,7 +238,7 @@ struct CertificateView: View {
237238
.foregroundColor(.blue)
238239
.font(.caption)
239240
.padding(8)
240-
.background(Color(.systemGray6).opacity(0.8))
241+
.background(Color.white.opacity(0.8))
241242
.clipShape(Circle())
242243
}
243244

@@ -253,7 +254,7 @@ struct CertificateView: View {
253254
.foregroundColor(customCertificates.count > 1 ? .red : .gray)
254255
.font(.caption)
255256
.padding(8)
256-
.background(Color(.systemGray6).opacity(0.8))
257+
.background(Color.white.opacity(0.8))
257258
.clipShape(Circle())
258259
}
259260
.disabled(customCertificates.count <= 1)
@@ -265,7 +266,6 @@ struct CertificateView: View {
265266
}
266267
.padding()
267268
}
268-
.scrollContentBackground(.hidden)
269269
.background(Color(.systemGray6))
270270
.navigationTitle("Certificate App")
271271
.navigationBarTitleDisplayMode(.inline)

0 commit comments

Comments
 (0)