Skip to content

Commit

Permalink
Merge pull request #2211 from gluestack/fix/android-crash-icon
Browse files Browse the repository at this point in the history
fix: android crash icon issue
  • Loading branch information
Viraj-10 authored Jun 4, 2024
2 parents 4398941 + 1d14347 commit 11e9294
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions packages/unstyled/icon/src/createIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ export function createIcon<IconProps>({
if (resolvedProps.size) {
// sizeProps = { ...sizeProps, fontSize: resolvedProps?.size };
}
} else if (resolvedProps.size) {
sizeStyle = {
height: resolvedProps.size,
width: resolvedProps.size,
};
}

return (
Expand Down
5 changes: 0 additions & 5 deletions packages/unstyled/icon/src/createIcon/index.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ export function createIcon<IconProps>({
if (resolvedProps.size) {
// sizeProps = { ...sizeProps, fontSize: resolvedProps?.size };
}
} else if (resolvedProps.size) {
sizeStyle = {
height: resolvedProps.size,
width: resolvedProps.size,
};
}

return (
Expand Down

0 comments on commit 11e9294

Please sign in to comment.