Skip to content

Commit

Permalink
Fix displaying google icon
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Dec 4, 2023
1 parent 33adfff commit 063c459
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion assets/images/signIn/google-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions src/components/SignInButtons/IconButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Icon from '@components/Icon';
import * as Expensicons from '@components/Icon/Expensicons';
import PressableWithoutFeedback from '@components/Pressable/PressableWithoutFeedback';
import withLocalize, {withLocalizePropTypes} from '@components/withLocalize';
import useTheme from '@styles/themes/useTheme';
import useThemeStyles from '@styles/useThemeStyles';
import CONST from '@src/CONST';

Expand Down Expand Up @@ -34,7 +33,6 @@ const providerData = {
};

function IconButton({onPress, translate, provider}) {
const theme = useTheme();
const styles = useThemeStyles();
return (
<PressableWithoutFeedback
Expand All @@ -44,7 +42,6 @@ function IconButton({onPress, translate, provider}) {
accessibilityLabel={translate(providerData[provider].accessibilityLabel)}
>
<Icon
fill={theme.icon}
src={providerData[provider].icon}
height={40}
width={40}
Expand Down

0 comments on commit 063c459

Please sign in to comment.