Skip to content
Open
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
6 changes: 3 additions & 3 deletions GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignInButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ NS_ASSUME_NONNULL_BEGIN
///
/// The minimum size of the button depends on the language used for text.
/// The following dimensions (in points) fit for all languages:
/// - kGIDSignInButtonStyleStandard: 230 x 48
/// - kGIDSignInButtonStyleWide: 312 x 48
/// - kGIDSignInButtonStyleIconOnly: 48 x 48 (no text, fixed size)
/// - kGIDSignInButtonStyleStandard: 230 x 48 (Display text is "Sign in")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Future-proofing this a bit :)

Suggested change
/// - kGIDSignInButtonStyleStandard: 230 x 48 (Display text is "Sign in")
/// - kGIDSignInButtonStyleStandard: 230 x 48 (Example display text: "Sign in")

/// - kGIDSignInButtonStyleWide: 312 x 48 (Display text is "Sign in with Google")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// - kGIDSignInButtonStyleWide: 312 x 48 (Display text is "Sign in with Google")
/// - kGIDSignInButtonStyleWide: 312 x 48 (Example display text: "Sign in with Google")

/// - kGIDSignInButtonStyleIconOnly: 48 x 48 (no text, fixed size)
typedef NS_ENUM(NSInteger, GIDSignInButtonStyle) {
kGIDSignInButtonStyleStandard = 0,
kGIDSignInButtonStyleWide = 1,
Expand Down
Loading