Explorar o código

Adjust SwiftUI button height to match ObjC

Matthew Mathias %!s(int64=4) %!d(string=hai) anos
pai
achega
74db2d3749
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      GoogleSignInSwift/Sources/GoogleSignInButtonStyling.swift

+ 2 - 2
GoogleSignInSwift/Sources/GoogleSignInButtonStyling.swift

@@ -22,10 +22,10 @@ import SwiftUI
 let googleCornerRadius: CGFloat = 2
 
 /// The standard height of the sign in button.
-let buttonHeight: CGFloat = 48
+let buttonHeight: CGFloat = 40
 
 /// The width of the icon part of the button in points.
-let iconWidth: CGFloat = 48
+let iconWidth: CGFloat = 40
 
 /// The padding to be applied to the Google icon image.
 let iconPadding: CGFloat = 2