Fix for suggestions bar (#370)
This commit is contained in:
parent
8011213ee9
commit
697ba310d0
|
@ -219,8 +219,10 @@
|
|||
(let [chat-id (subscribe [:get-current-chat-id])]
|
||||
(reaction
|
||||
(min (get-in @db [:animations :to-response-height @chat-id])
|
||||
(- (:layout-height @db)
|
||||
(get-in platform-specific [:component-styles :status-bar status-bar :height])))))))
|
||||
(if (> (:layout-height @db) 0)
|
||||
(- (:layout-height @db)
|
||||
(get-in platform-specific [:component-styles :status-bar status-bar :height]))
|
||||
0))))))
|
||||
|
||||
(register-sub :web-view-url
|
||||
(fn [db]
|
||||
|
|
Loading…
Reference in New Issue