Colorize friend icons

No reason why nip05 badges should have all the fun

Changelog-Added: Colorize friend icons
This commit is contained in:
William Casarin
2023-04-20 14:30:27 -07:00
parent ac82f1bc09
commit 191950a5aa
5 changed files with 63 additions and 22 deletions

View File

@@ -35,10 +35,10 @@ struct NIP05Badge: View {
.mask(Image(systemName: "checkmark.seal.fill")
.resizable()
).frame(width: 14, height: 14)
} else {
} else if show_domain {
Image(systemName: "checkmark.seal.fill")
.font(.footnote)
.foregroundColor(.gray)
.nip05_colorized(gradient: nip05_color)
}
}
}