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)] window-width (reagent/atom 0)]
{:component-will-mount {:component-will-mount
(fn [] (fn []
(if (:connected? status-properties) (when anim-translate-y
(animation/set-value anim-translate-y neg-connectivity-bar-height) (if (:connected? status-properties)
(animation/set-value anim-translate-y 0)))} (animation/set-value anim-translate-y neg-connectivity-bar-height)
(animation/set-value anim-translate-y 0))))}
(let [{:keys [loading-indicator?]} status-properties] (let [{:keys [loading-indicator?]} status-properties]
[react/view {:style {:align-items :stretch [react/view {:style {:align-items :stretch
:z-index 1} :z-index 1}