1
0
mirror of git://jb55.com/damus synced 2024-10-06 03:33:22 +00:00

createaccount: ui: center pubkey text and add gradient style

This commit is contained in:
ericholguin 2023-05-26 19:35:20 -06:00 committed by William Casarin
parent dd022a953c
commit 47d594af00

View File

@ -158,8 +158,9 @@ func KeyText(_ text: Binding<String>) -> some View {
let bechkey = bech32_encode(hrp: PUBKEY_HRP, decoded)
return Text(bechkey)
.textSelection(.enabled)
.multilineTextAlignment(.center)
.font(.callout.monospaced())
.foregroundColor(.white)
.foregroundStyle(DamusLogoGradient.gradient)
}
func FormTextInput(_ title: String, text: Binding<String>) -> some View {