Refactor button style

This commit is contained in:
Kenta Kubo 2023-06-12 00:07:58 +09:00
parent ec054cde2b
commit 4f3c78890b
No known key found for this signature in database
GPG key ID: 09CE7C7A0BED6C72

View file

@ -111,12 +111,12 @@ extension HowToActivateView: View {
}
if self.isSheet {
Spacer()
Button {
Button("Dismiss") {
self.dismiss()
} label: {
Text("Dismiss").padding()
}
.buttonStyle(.borderedProminent)
.controlSize(.large)
.hoverEffect()
}
}
.padding()