mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 19:44:47 +00:00
commands suggestions header icon
Former-commit-id: ac80ae632f1097082769a362df86d67787ec9009
This commit is contained in:
parent
d0e9eb04ea
commit
e830ecdb39
@ -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})
|
||||||
|
@ -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
|
||||||
|
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user