Unverified Commit 54169d24 authored by Slesarew's avatar Slesarew
Browse files

fix: ios: identicon for certificate in preview

parent e77bbe64
......@@ -15,7 +15,7 @@ struct TCAuthor: View {
VStack (alignment: .leading) {
Text("From:")
.foregroundColor(Color("Text400"))
Text(author.seedName + author.path + (author.hasPwd == true ? "///" : "")) //TODO: hasPwd should be real field
Text(author.seedName + author.path + (author.hasPwd == true ? "///" : ""))
.foregroundColor(Color("Crypto400"))
Text(author.base58)
.font(.caption2)
......
......@@ -11,7 +11,7 @@ struct TCAuthorPublicKey: View {
var value: MVerifierDetails
var body: some View {
HStack {
Image(systemName: "circle.fill").foregroundColor(Color("Text600")).imageScale(.large)
Identicon(identicon: value.identicon)
VStack (alignment: .leading) {
Text("Signed with " + value.encryption)
.foregroundColor(Color("Text400")).font(FBase(style: .body2))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment