Skip to content

Commit

Permalink
fix #8636
Browse files Browse the repository at this point in the history
Signed-off-by: yenda <[email protected]>
  • Loading branch information
yenda committed Jul 26, 2019
1 parent 4bd46d9 commit c8a8b9f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/status_im/ui/components/connectivity/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit c8a8b9f

Please sign in to comment.