From 2371dcbc6053bef8032d37a43abbcf27aafca874 Mon Sep 17 00:00:00 2001 From: Gheorghe Pinzaru Date: Wed, 5 Aug 2020 17:48:59 +0300 Subject: [PATCH] Show gfycat in new chat search fixes #11027 Signed-off-by: Gheorghe Pinzaru --- src/status_im/ui/screens/add_new/new_chat/views.cljs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/add_new/new_chat/views.cljs b/src/status_im/ui/screens/add_new/new_chat/views.cljs index 96f0baef63..fee8d40f00 100644 --- a/src/status_im/ui/screens/add_new/new_chat/views.cljs +++ b/src/status_im/ui/screens/add_new/new_chat/views.cljs @@ -6,6 +6,7 @@ [status-im.ui.components.colors :as colors] [status-im.ui.components.icons.vector-icons :as vector-icons] [quo.core :as quo] + [status-im.utils.gfycat.core :as gfycat] [status-im.ui.components.list.views :as list] [status-im.ui.components.react :as react] [status-im.ui.components.topbar :as topbar] @@ -94,7 +95,10 @@ (cond (= state :error) (get-validation-label error) (= state :valid) - (str (when ens-name (str ens-name " • ")) + (str (if ens-name + ens-name + (gfycat/generate-gfy public-key)) + " • " (utils/get-shortened-address public-key)) :else "")]] [list/flat-list {:data contacts