[android] fix screen flickering in dev mode

This commit is contained in:
Roman Volosovskyi 2018-10-09 14:30:54 +03:00
parent b63602e1ff
commit 4e65862f7f
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 4 deletions

View File

@ -343,10 +343,7 @@
(fn []
(when-not @initial-view-id
(reset! initial-view-id @view-id))
(when (and @initial-view-id
(or
js/goog.DEBUG
(not @main-component)))
(when (and @initial-view-id (not @main-component))
(reset! main-component (get-main-component2
(if js/goog.DEBUG
@initial-view-id