diff --git a/src/buttons/__tests__/Button.js b/src/buttons/__tests__/Button.js
index 274cb5638f..7dc6eb2447 100644
--- a/src/buttons/__tests__/Button.js
+++ b/src/buttons/__tests__/Button.js
@@ -53,19 +53,6 @@ describe('Button Component', () => {
jest.resetModules();
});
- it('should warn the user when using linearGradient without it installed', () => {
- console.error = jest.fn();
- shallow(
-
- );
- expect(console.error).toHaveBeenCalledWith(
- "You need to pass a ViewComponent to use linearGradientProps !\nExample: ViewComponent={require('react-native-linear-gradient')}"
- );
- });
-
describe('Button Types', () => {
describe('Solid', () => {
it('should display solid button', () => {
diff --git a/src/social/SocialIcon.tsx b/src/social/SocialIcon.tsx
index c5cf5df885..90e526f995 100644
--- a/src/social/SocialIcon.tsx
+++ b/src/social/SocialIcon.tsx
@@ -161,17 +161,16 @@ const SocialIcon: React.FunctionComponent = (props) => {
])}
>
- {
- (shouldShowExpandedButton || !loading) &&
+ {(shouldShowExpandedButton || !loading) && (
- }
+ )}
{shouldShowExpandedButton && (
= (props) => {
styles.activityIndicatorStyle,
activityIndicatorStyle,
])}
- color={light ? colors[type] : iconColor}
+ color={light ? colors[type] : iconColor || 'white'}
size={(small && 'small') || 'large'}
/>
)}