Skip to content

Commit

Permalink
Bump go and type check
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil committed Mar 8, 2024
1 parent c9ce998 commit cbfb071
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions src/quo/components/links/url_preview/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}]]))
4 changes: 2 additions & 2 deletions status-go-version.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit cbfb071

Please sign in to comment.