The title pretty much says it.
No matter how I try to add modifiers or try change it the Google Sign In button won't let me change it's look which is strange because the look in the screenshot of my view isn't at all what I see other apps using - most other apps have Red or Blue button with the Google G or a lower cased g.
Has anyone run into this and have a good solution? Thanks in advance!
To note, I'm building in SwiftUI and my backend is Firebase Auth, though I don't think this matters.
at the least how can i match the hieght?
I've tried everything in this post many do not work, but regardless I dont really want to have to create and maintain a custom button for this.. Custom Button for google and Facebook Sign-In Swift2 ios
at the very least why can I change the hieght or add a frame? Here is the code I have for the button in my View. The implementation is working as expected - I just want to change things cosmetically. The frame line doesnt have any effect
//Adds Sign In with GOOGLE Button (async func)
GoogleSignInButton(viewModel: GoogleSignInButtonViewModel(scheme: .dark, style: .wide, state: .normal)) {
Task {
do {
try await viewModel.signInGoogle()
showSignInView = false //if success dismiss the screen
} catch {
print(error)
}
}
}
.frame(height: 55)```