Fix error view jumps
This commit is contained in:
parent
0562015fa8
commit
70aae89d05
|
@ -58,7 +58,6 @@
|
||||||
[react/text {:style (styles/profile-actions-text colors/black)
|
[react/text {:style (styles/profile-actions-text colors/black)
|
||||||
:on-press #(re-frame/dispatch [:show-profile-desktop whisper-identity])}
|
:on-press #(re-frame/dispatch [:show-profile-desktop whisper-identity])}
|
||||||
(i18n/label :t/view-profile)])
|
(i18n/label :t/view-profile)])
|
||||||
|
|
||||||
[react/text {:style (styles/profile-actions-text colors/black)
|
[react/text {:style (styles/profile-actions-text colors/black)
|
||||||
:on-press #(re-frame/dispatch [:chat.ui/clear-history-pressed])}
|
:on-press #(re-frame/dispatch [:chat.ui/clear-history-pressed])}
|
||||||
(i18n/label :t/clear-history)]
|
(i18n/label :t/clear-history)]
|
||||||
|
@ -159,6 +158,7 @@
|
||||||
(reset! chat-id* chat-id)
|
(reset! chat-id* chat-id)
|
||||||
(js/setTimeout #(when @scroll-ref (.scrollToEnd @scroll-ref)) 400))]
|
(js/setTimeout #(when @scroll-ref (.scrollToEnd @scroll-ref)) 400))]
|
||||||
[react/view {:style styles/messages-view}
|
[react/view {:style styles/messages-view}
|
||||||
|
[connectivity/error-view]
|
||||||
[react/scroll-view {:scrollEventThrottle 16
|
[react/scroll-view {:scrollEventThrottle 16
|
||||||
:headerHeight styles/messages-list-vertical-padding
|
:headerHeight styles/messages-list-vertical-padding
|
||||||
:footerWidth styles/messages-list-vertical-padding
|
:footerWidth styles/messages-list-vertical-padding
|
||||||
|
|
Loading…
Reference in New Issue