diff --git a/src/status_im/chat/styles/suggestions.cljs b/src/status_im/chat/styles/suggestions.cljs index e21cd4c620..2985922cd7 100644 --- a/src/status_im/chat/styles/suggestions.cljs +++ b/src/status_im/chat/styles/suggestions.cljs @@ -114,3 +114,9 @@ {:font-size 12 :margin-top 2 :color color-gray}) + +(def header-icon + {:background-color :#838c93 + :width 14 + :border-radius 1 + :height 3}) diff --git a/src/status_im/chat/views/request_message.cljs b/src/status_im/chat/views/request_message.cljs index 38b9237137..2bbd4e11df 100644 --- a/src/status_im/chat/views/request_message.cljs +++ b/src/status_im/chat/views/request_message.cljs @@ -51,7 +51,7 @@ :loop? loop?}] (r/create-class {:component-did-mount - #(request-button-animation-logic context) + (when-not @answered? #(request-button-animation-logic context)) :component-will-unmount #(reset! loop? false) :reagent-render diff --git a/src/status_im/chat/views/suggestions.cljs b/src/status_im/chat/views/suggestions.cljs index d946c5fa8d..c9a7615317 100644 --- a/src/status_im/chat/views/suggestions.cljs +++ b/src/status_im/chat/views/suggestions.cljs @@ -94,7 +94,7 @@ [view (merge (drag/pan-handlers pan-responder) {:style ddst/drag-down-touchable}) - [icon :drag_down ddst/drag-down-icon]]))) + [view st/header-icon]]))) (defn container-animation-logic [{:keys [to-value val]}] (when-let [to-value @to-value]