Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2019-07-26 08:33:08 +02:00
parent 4bd46d9f1c
commit c8a8b9fdc0
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 4 additions and 3 deletions

View File

@ -147,9 +147,10 @@
window-width (reagent/atom 0)]
{:component-will-mount
(fn []
(if (:connected? status-properties)
(animation/set-value anim-translate-y neg-connectivity-bar-height)
(animation/set-value anim-translate-y 0)))}
(when anim-translate-y
(if (:connected? status-properties)
(animation/set-value anim-translate-y neg-connectivity-bar-height)
(animation/set-value anim-translate-y 0))))}
(let [{:keys [loading-indicator?]} status-properties]
[react/view {:style {:align-items :stretch
:z-index 1}