Skip to content

Commit

Permalink
hide the icon when there is no icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Jul 9, 2020
1 parent 858c8d8 commit 5b00a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IconView.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const IconView = (props) => {
onLayout={_onLayout}
source={{ uri: nativeAd.icon }}
/>
) : (
) : nativeAd && nativeAd.icon && nativeAd.icon !== "noicon" ? null : (
<Image
{...props}
resizeMode="cover"
Expand Down

0 comments on commit 5b00a87

Please sign in to comment.