@@ -123,7 +123,7 @@ - (instancetype)initWithAuthUI:(FUIAuth *)authUI
123123 _signInLabel = buttonLabelText;
124124 _shortName = shortName;
125125 _buttonBackgroundColor = buttonColor;
126- _buttonTextColor = [UIColor colorWithRed: 1.0 green: 1.0 blue: 1.0 alpha: 1.0 ];
126+ _buttonTextColor = [UIColor whiteColor ];
127127 _icon = iconImage;
128128 _scopes = scopes;
129129 _customParameters = customParameters;
@@ -192,13 +192,13 @@ + (FUIOAuth *)yahooAuthProvider {
192192
193193+ (FUIOAuth *)appleAuthProvider {
194194 UIImage *iconImage = [FUIAuthUtils imageNamed: @" ic_apple"
195- fromBundleNameOrNil: @" FirebaseOAuthUI" ];
196- UIColor *buttonColor = [UIColor colorWithRed: 0.0 green: 0.0 blue: 0.0 alpha: 1.0 ];
197- UIColor *buttonTextColor = [UIColor colorWithRed: 1.0 green: 1.0 blue: 1.0 alpha: 1.0 ];
195+ fromBundleNameOrNil: @" FirebaseOAuthUI" ];
196+ UIColor *buttonColor = [UIColor blackColor ];
197+ UIColor *buttonTextColor = [UIColor whiteColor ];
198198 if (UITraitCollection.currentTraitCollection .userInterfaceStyle == UIUserInterfaceStyleLight) {
199- iconImage = [iconImage imageWithTintColor: [UIColor colorWithRed: 0.0 green: 0.0 blue: 0.0 alpha: 1.0 ]];
200- buttonColor = [UIColor colorWithRed: 1.0 green: 1.0 blue: 1.0 alpha: 1.0 ];
201- buttonTextColor = [UIColor colorWithRed: 0.0 green: 0.0 blue: 0.0 alpha: 1.0 ];
199+ iconImage = [iconImage imageWithTintColor: [UIColor blackColor ]];
200+ buttonColor = [UIColor whiteColor ];
201+ buttonTextColor = [UIColor blackColor ];
202202 }
203203 FUIOAuth *provider = [[FUIOAuth alloc ] initWithAuthUI: [FUIAuth defaultAuthUI ]
204204 providerID: @" apple.com"
0 commit comments