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

Commit 2180f9c

Browse files
authored
Refactor CertificateView layout and functionality
Refactor CertificateView to improve layout and functionality, including updates to the display and interaction of certificates.
1 parent d6be236 commit 2180f9c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Sources/prosign/views/CertificateView.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct CertificateView: View {
3838
}
3939
.padding(20)
4040
.frame(maxWidth: .infinity)
41-
.background(Color(.systemGray6))
41+
.background(Color.white)
4242
.cornerRadius(16)
4343
.overlay(
4444
RoundedRectangle(cornerRadius: 16)
@@ -66,7 +66,7 @@ struct CertificateView: View {
6666
.foregroundColor(.blue)
6767
.font(.caption)
6868
.padding(8)
69-
.background(Color.white.opacity(0.8))
69+
.background(Color(.systemGray6).opacity(0.8))
7070
.clipShape(Circle())
7171
}
7272

@@ -82,7 +82,7 @@ struct CertificateView: View {
8282
.foregroundColor(customCertificates.count > 1 ? .red : .gray)
8383
.font(.caption)
8484
.padding(8)
85-
.background(Color.white.opacity(0.8))
85+
.background(Color(.systemGray6).opacity(0.8))
8686
.clipShape(Circle())
8787
}
8888
.disabled(customCertificates.count <= 1)
@@ -97,6 +97,8 @@ struct CertificateView: View {
9797
.listRowInsets(EdgeInsets())
9898
}
9999
.listStyle(.plain)
100+
.listRowBackground(Color.clear)
101+
.listRowSeparator(.hidden)
100102
.background(Color(.systemGray6))
101103
.toolbar {
102104
ToolbarItem(placement: .navigationBarTrailing) {

0 commit comments

Comments
 (0)