mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 03:54:32 +00:00
Merge pull request #374 from status-im/bug/#370
Fix for suggestions bar (#370) Former-commit-id: 8a0fa2acf81af6cb7620e931ccda0f97814c8d6b
This commit is contained in:
commit
0f843fc96c
@ -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…
x
Reference in New Issue
Block a user