From ba7f6753006195b5fa9cf7daaf3f8d7ec5d645bf Mon Sep 17 00:00:00 2001 From: ericholguin Date: Fri, 26 May 2023 19:28:38 -0600 Subject: [PATCH] createaccount: ui: remove damus white button and use gradient style button --- damus/Views/CreateAccountView.swift | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/damus/Views/CreateAccountView.swift b/damus/Views/CreateAccountView.swift index b7f70718..9adb7763 100644 --- a/damus/Views/CreateAccountView.swift +++ b/damus/Views/CreateAccountView.swift @@ -77,10 +77,16 @@ struct CreateAccountView: View { } - DamusWhiteButton(NSLocalizedString("Create", comment: "Button to create account.")) { + Button(action: { self.is_done = true + }) { + HStack { + Text("Create account now", comment: "Button to create account.") + .fontWeight(.semibold) + } + .frame(minWidth: 300, maxWidth: .infinity, maxHeight: 12, alignment: .center) } - .padding() + .buttonStyle(GradientButtonStyle()) .disabled(profileUploadViewModel.isLoading) .opacity(profileUploadViewModel.isLoading ? 0.5 : 1) }