From 5b00a8726b6fec07d29c1f0f6e1dfe575816bd7c Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 9 Jul 2020 12:52:04 +0500 Subject: [PATCH] hide the icon when there is no icon --- src/IconView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IconView.js b/src/IconView.js index 2060c008..a53a2188 100644 --- a/src/IconView.js +++ b/src/IconView.js @@ -28,7 +28,7 @@ const IconView = (props) => { onLayout={_onLayout} source={{ uri: nativeAd.icon }} /> - ) : ( + ) : nativeAd && nativeAd.icon && nativeAd.icon !== "noicon" ? null : (