createaccount: ui: center pubkey text and add gradient style

This commit is contained in:
ericholguin
2023-05-29 14:38:24 -07:00
committed by William Casarin
parent dd022a953c
commit 47d594af00
+2 -1
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 {