From 70aae89d057af99b9b2985becc2189b36d4328e7 Mon Sep 17 00:00:00 2001 From: Vitaliy Vlasov Date: Tue, 28 Aug 2018 18:47:35 +0300 Subject: [PATCH] Fix error view jumps --- src/status_im/ui/screens/desktop/main/chat/views.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/desktop/main/chat/views.cljs b/src/status_im/ui/screens/desktop/main/chat/views.cljs index 91f3166bc0..4534584510 100644 --- a/src/status_im/ui/screens/desktop/main/chat/views.cljs +++ b/src/status_im/ui/screens/desktop/main/chat/views.cljs @@ -58,7 +58,6 @@ [react/text {:style (styles/profile-actions-text colors/black) :on-press #(re-frame/dispatch [:show-profile-desktop whisper-identity])} (i18n/label :t/view-profile)]) - [react/text {:style (styles/profile-actions-text colors/black) :on-press #(re-frame/dispatch [:chat.ui/clear-history-pressed])} (i18n/label :t/clear-history)] @@ -159,6 +158,7 @@ (reset! chat-id* chat-id) (js/setTimeout #(when @scroll-ref (.scrollToEnd @scroll-ref)) 400))] [react/view {:style styles/messages-view} + [connectivity/error-view] [react/scroll-view {:scrollEventThrottle 16 :headerHeight styles/messages-list-vertical-padding :footerWidth styles/messages-list-vertical-padding