From 3cf282e75a4e26b3d231ea36f1e7a43761de1f56 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Thu, 12 Mar 2020 10:57:31 +0100 Subject: [PATCH] fixes home loading indicator Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/screens/home/views.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/home/views.cljs b/src/status_im/ui/screens/home/views.cljs index 66f7146044..51f285d2b7 100644 --- a/src/status_im/ui/screens/home/views.cljs +++ b/src/status_im/ui/screens/home/views.cljs @@ -98,7 +98,8 @@ {:keys [chats all-home-items search-filter]} [:home-items] {:keys [hide-home-tooltip?]} [:multiaccount]] (if loading? - [react/activity-indicator {:flex 1 :animating true}] + [react/view {:flex 1 :align-items :center :justify-content :center} + [react/activity-indicator {:animating true}]] (if (and (empty? all-home-items) hide-home-tooltip? (not @search-active?)) [welcome-blank-page] (let [data (if @search-active? chats all-home-items)]