createaccount: ui: remove damus white button and use gradient style button
This commit is contained in:
committed by
William Casarin
parent
8e84b446a5
commit
ba7f675300
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user