[#7930] fix - No label is shown for empty chat screen if you open public chat via deep link after opening another public chat via deep link

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
bitsikka 2019-04-10 19:41:49 +05:45 committed by Igor Mandrigin
parent 9fe3395880
commit 316a50b032
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
1 changed files with 1 additions and 0 deletions

View File

@ -271,6 +271,7 @@
:style style/scroll-root :style style/scroll-root
:content-container-style style/scroll-root :content-container-style style/scroll-root
:keyboard-should-persist-taps :handled} :keyboard-should-persist-taps :handled}
^{:key current-chat-id}
[react/view {:style style/chat-view [react/view {:style style/chat-view
:on-layout (fn [e] :on-layout (fn [e]
(re-frame/dispatch [:set :layout-height (-> e .-nativeEvent .-layout .-height)]))} (re-frame/dispatch [:set :layout-height (-> e .-nativeEvent .-layout .-height)]))}