Merge pull request #374 from status-im/bug/#370

Fix for suggestions bar (#370)

Former-commit-id: 8a0fa2acf8
This commit is contained in:
Roman Volosovskyi 2016-10-19 16:30:36 +03:00 committed by GitHub
commit 0f843fc96c
1 changed files with 4 additions and 2 deletions

View File

@ -219,8 +219,10 @@
(let [chat-id (subscribe [:get-current-chat-id])]
(reaction
(min (get-in @db [:animations :to-response-height @chat-id])
(if (> (:layout-height @db) 0)
(- (:layout-height @db)
(get-in platform-specific [:component-styles :status-bar status-bar :height])))))))
(get-in platform-specific [:component-styles :status-bar status-bar :height]))
0))))))
(register-sub :web-view-url
(fn [db]