mirror of
git://jb55.com/damus
synced 2024-10-06 11:43:21 +00:00
createaccount: ui: remove damus white button and use gradient style button
This commit is contained in:
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
|
self.is_done = true
|
||||||
|
}) {
|
||||||
|
HStack {
|
||||||
|
Text("Create account now", comment: "Button to create account.")
|
||||||
|
.fontWeight(.semibold)
|
||||||
}
|
}
|
||||||
.padding()
|
.frame(minWidth: 300, maxWidth: .infinity, maxHeight: 12, alignment: .center)
|
||||||
|
}
|
||||||
|
.buttonStyle(GradientButtonStyle())
|
||||||
.disabled(profileUploadViewModel.isLoading)
|
.disabled(profileUploadViewModel.isLoading)
|
||||||
.opacity(profileUploadViewModel.isLoading ? 0.5 : 1)
|
.opacity(profileUploadViewModel.isLoading ? 0.5 : 1)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user