commands suggestions header icon

Former-commit-id: ac80ae632f1097082769a362df86d67787ec9009
This commit is contained in:
Roman Volosovskyi 2016-06-30 14:06:00 +03:00
parent d0e9eb04ea
commit e830ecdb39
3 changed files with 8 additions and 2 deletions

View File

@ -114,3 +114,9 @@
{:font-size 12 {:font-size 12
:margin-top 2 :margin-top 2
:color color-gray}) :color color-gray})
(def header-icon
{:background-color :#838c93
:width 14
:border-radius 1
:height 3})

View File

@ -51,7 +51,7 @@
:loop? loop?}] :loop? loop?}]
(r/create-class (r/create-class
{:component-did-mount {:component-did-mount
#(request-button-animation-logic context) (when-not @answered? #(request-button-animation-logic context))
:component-will-unmount :component-will-unmount
#(reset! loop? false) #(reset! loop? false)
:reagent-render :reagent-render

View File

@ -94,7 +94,7 @@
[view [view
(merge (drag/pan-handlers pan-responder) (merge (drag/pan-handlers pan-responder)
{:style ddst/drag-down-touchable}) {:style ddst/drag-down-touchable})
[icon :drag_down ddst/drag-down-icon]]))) [view st/header-icon]])))
(defn container-animation-logic [{:keys [to-value val]}] (defn container-animation-logic [{:keys [to-value val]}]
(when-let [to-value @to-value] (when-let [to-value @to-value]