Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class GoogleSignInButtonViewModel: ObservableObject {

/// A computed property providing the button's size, colors, corner radius,
/// and shadow based on this current view model's `SignInButtonStyle`.
@MainActor
var buttonStyle: SwiftUIButtonStyle {
return SwiftUIButtonStyle(style: style, state: state, scheme: scheme)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import XCTest
@testable import GoogleSignInSwift

@MainActor
@available(iOS 13.0, macOS 10.15, *)
class GoogleSignInButtonStylingTests: XCTestCase {
private typealias ButtonViewModelInfo = (
Expand Down