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:
parent
dd022a953c
commit
47d594af00
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user