mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 10:46:21 +00:00
Fix for suggestions bar (#370)
Former-commit-id: 697ba310d057a3504d3440b397475f7e8c40e146
This commit is contained in:
parent
9cd0a61a29
commit
9d354614fe
@ -219,8 +219,10 @@
|
|||||||
(let [chat-id (subscribe [:get-current-chat-id])]
|
(let [chat-id (subscribe [:get-current-chat-id])]
|
||||||
(reaction
|
(reaction
|
||||||
(min (get-in @db [:animations :to-response-height @chat-id])
|
(min (get-in @db [:animations :to-response-height @chat-id])
|
||||||
|
(if (> (:layout-height @db) 0)
|
||||||
(- (:layout-height @db)
|
(- (: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
|
(register-sub :web-view-url
|
||||||
(fn [db]
|
(fn [db]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user