From 47d594af0074cc9952aa8bd9be745bd703fcb5fa Mon Sep 17 00:00:00 2001 From: ericholguin Date: Fri, 26 May 2023 19:35:20 -0600 Subject: [PATCH] createaccount: ui: center pubkey text and add gradient style --- damus/Views/CreateAccountView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/damus/Views/CreateAccountView.swift b/damus/Views/CreateAccountView.swift index fdb1c32b..da4248b4 100644 --- a/damus/Views/CreateAccountView.swift +++ b/damus/Views/CreateAccountView.swift @@ -158,8 +158,9 @@ func KeyText(_ text: Binding) -> 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) -> some View {