diff --git a/src/quo/components/links/url_preview/view.cljs b/src/quo/components/links/url_preview/view.cljs index 78463d7f8e9c..316001e2f52c 100644 --- a/src/quo/components/links/url_preview/view.cljs +++ b/src/quo/components/links/url_preview/view.cljs @@ -11,7 +11,8 @@ (defn- logo-comp [{:keys [logo]}] - (if (string/starts-with? logo constants/base64-svg-prefix) + (if (and (string? logo) + (string/starts-with? logo constants/base64-svg-prefix)) [svg/svg-xml (merge style/logo {:xml (-> logo @@ -75,6 +76,8 @@ :style (merge (style/container) container-style)} (when logo [logo-comp - {:logo (:data-uri logo)}]) + {:logo (if (map? logo) + (:data-uri logo) + logo)}]) [content {:title title :body body}] [clear-button {:on-press on-clear}]])) diff --git a/status-go-version.json b/status-go-version.json index afd90a797857..710bb731a25c 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -4,6 +4,6 @@ "owner": "status-im", "repo": "status-go", "version": "add-favicons-to-link-previews", - "commit-sha1": "497669ebeff1e176600d01138186bbdd3b24caf8", - "src-sha256": "1hlhd8grz6ydrqigig3xim2r7kn5s69zpqsz5zd1w0cyms79cgav" + "commit-sha1": "9e64d25f77b13f3bf75179358afe88acd7fc92c6", + "src-sha256": "1mwn1fz9qprvjfqr92q0vn82kw39ipj94zcmv5yzyk27mlpb1lnm" }